From baab88f42a2a1fd0a22901db000dbedd7a8cdb55 Mon Sep 17 00:00:00 2001 From: david Date: Sat, 6 Jul 2002 15:00:37 +0000 Subject: [PATCH] Fix deletes in destructor. --- simgear/misc/props.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;