Commit 8e0d4d0f authored by Anthony Royer's avatar Anthony Royer

array overflow and memory leaks

parent 747b2800
Pipeline #2626 passed with stage
in 16 minutes and 40 seconds
......@@ -60,7 +60,7 @@ static void statistics_histogram_cb(Fl_Widget *w, void *data)
else if(qmh == QMH_SIGE_XY) {
for(int i = 0; i < 100; i++) {
x.push_back((double)(2 * i - 99) / 99);
y.push_back(FlGui::instance()->stats->quality[3][i]);
y.push_back(FlGui::instance()->stats->quality[2][i]);
}
new PView("SIGE", "# Elements", x, y);
}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment