Actions
Bug #7915
openmemory leak in WCartesianChart (wt3.7.0)
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12/14/2020
Due date:
% Done:
0%
Estimated time:
Description
the x-axis is not destroyed
WCartesianChart::~WCartesianChart()
{
** while (!xAxes_.empty()) {
delete xAxes_.back();
xAxes_.pop_back();
}
** * __ * while (!yAxes_.empty()) {
delete yAxes_.back();
yAxes_.pop_back();
}
delete interface_;
std::vector copy = std::vector(axisSliderWidgets_);
axisSliderWidgets_.clear();
for (std::size_t i = 0; i < copy.size(); ++i) {
copy[i]->setSeries(0);
}
for (std::size_t i = 0; i < series_.size(); ++i) {
delete series_[i];
}
}
Updated by jeroen zpam almost 4 years ago
fixed in https://github.com/emweb/wt/pull/169
Actions