Fix deletes in destructor.

This commit is contained in:
david 2002-07-06 15:00:37 +00:00
parent 767b74dd35
commit baab88f42a

View File

@ -759,7 +759,8 @@ SGPropertyNode::SGPropertyNode (const char * name,
SGPropertyNode::~SGPropertyNode () SGPropertyNode::~SGPropertyNode ()
{ {
delete [] _name; delete [] _name;
delete _path; delete [] _display_name;
delete [] _path;
delete _path_cache; delete _path_cache;
clear_value(); clear_value();
delete _listeners; delete _listeners;