summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2009-11-10 21:13:21 +0100
committerGravatar Jonathan Beck2009-11-10 21:13:21 +0100
commit35b287d0d9259c8401e66a9824f946329044b255 (patch)
treeea93d6cfb1c63271b5664d72bc44d5e3f427f42b /src
parenta42c74a18fefe7eb80a493a397180722162870e6 (diff)
downloadlibplist-35b287d0d9259c8401e66a9824f946329044b255.tar.gz
libplist-35b287d0d9259c8401e66a9824f946329044b255.tar.bz2
Do not free plist node twice in Dictionary destructor.
Diffstat (limited to 'src')
-rw-r--r--src/Dictionary.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp
index 8b5565f..2a86d59 100644
--- a/src/Dictionary.cpp
+++ b/src/Dictionary.cpp
@@ -111,7 +111,6 @@ Dictionary::~Dictionary()
{
for (Dictionary::iterator it = _map.begin(); it != _map.end(); it++)
{
- plist_free(it->second->GetPlist());
delete it->second;
}
_map.clear();