Fixed small memory leak as pointed out by Manuel Polik.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@69 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2002-04-12 21:53:02 +00:00
parent e462ac656d
commit 056904a07b
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
//
// $Id: PropsSet.cxx,v 1.3 2002-01-16 02:14:25 stephena Exp $
// $Id: PropsSet.cxx,v 1.4 2002-04-12 21:53:02 stephena Exp $
//============================================================================
#include <assert.h>
@ -148,6 +148,7 @@ void PropertiesSet::deleteNode(TreeNode *node)
deleteNode(node->left);
deleteNode(node->right);
delete node->props;
delete node;
}
}