From 056904a07b0087c673ed199c0d146d12d33cc425 Mon Sep 17 00:00:00 2001 From: stephena Date: Fri, 12 Apr 2002 21:53:02 +0000 Subject: [PATCH] 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 --- stella/src/emucore/PropsSet.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stella/src/emucore/PropsSet.cxx b/stella/src/emucore/PropsSet.cxx index 2f91f0fc2..e093f5d97 100644 --- a/stella/src/emucore/PropsSet.cxx +++ b/stella/src/emucore/PropsSet.cxx @@ -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 @@ -148,6 +148,7 @@ void PropertiesSet::deleteNode(TreeNode *node) deleteNode(node->left); deleteNode(node->right); delete node->props; + delete node; } }