From: david Date: Sat, 6 Jul 2002 15:00:37 +0000 (+0000) Subject: Fix deletes in destructor. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=baab88f42a2a1fd0a22901db000dbedd7a8cdb55;p=simgear.git Fix deletes in destructor. --- diff --git a/simgear/misc/props.cxx b/simgear/misc/props.cxx index 392b456e..39db0462 100644 --- a/simgear/misc/props.cxx +++ b/simgear/misc/props.cxx @@ -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;