From: mfranz Date: Tue, 23 May 2006 16:49:32 +0000 (+0000) Subject: ugly "fix": the constructor was commented out in prop_picker.cxx since X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fdb9e94af3f7ea2f98d5e34ef132ce4911c3fc24;p=flightgear.git ugly "fix": the constructor was commented out in prop_picker.cxx since *many* years, so the property browser always leaked memory. I activated this line in property_list.cxx and ... got a crash right there. So this was the reason for it being commented out? Doing the same for now, until I know the exact reason and can really fix it. --- diff --git a/src/GUI/property_list.cxx b/src/GUI/property_list.cxx index ba25849c8..76de60314 100644 --- a/src/GUI/property_list.cxx +++ b/src/GUI/property_list.cxx @@ -97,7 +97,9 @@ PropertyList::PropertyList(int minx, int miny, int maxx, int maxy, SGPropertyNod PropertyList::~PropertyList() { - delete_arrays(); + // FIXME this seems to cause a crash, which is probably why + // commented out in prop_picker.cxx since many years + //delete_arrays(); }