]> git.mxchange.org Git - simgear.git/commitdiff
Fix deletes in destructor.
authordavid <david>
Sat, 6 Jul 2002 15:00:37 +0000 (15:00 +0000)
committerdavid <david>
Sat, 6 Jul 2002 15:00:37 +0000 (15:00 +0000)
simgear/misc/props.cxx

index 392b456e74f90be6ca403cd98c859791df7ebf85..39db0462c03ec1d7d5f7017bd54d17c648ee83fc 100644 (file)
@@ -759,7 +759,8 @@ SGPropertyNode::SGPropertyNode (const char * name,
 SGPropertyNode::~SGPropertyNode ()
 {
   delete [] _name;
-  delete _path;
+  delete [] _display_name;
+  delete [] _path;
   delete _path_cache;
   clear_value();
   delete _listeners;