]> git.mxchange.org Git - flightgear.git/commitdiff
ugly "fix": the constructor was commented out in prop_picker.cxx since
authormfranz <mfranz>
Tue, 23 May 2006 16:49:32 +0000 (16:49 +0000)
committermfranz <mfranz>
Tue, 23 May 2006 16:49:32 +0000 (16:49 +0000)
*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.

src/GUI/property_list.cxx

index ba25849c88885040726ca1e8397d4285afc6d5fd..76de6031481cb200800a2779adfd2eeecf97b7f9 100644 (file)
@@ -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();
 }