mirror of https://github.com/stella-emu/stella.git
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:
parent
e462ac656d
commit
056904a07b
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue