diff options
author | Jonathan Beck | 2009-11-10 21:13:21 +0100 |
---|---|---|
committer | Jonathan Beck | 2009-11-10 21:13:21 +0100 |
commit | 35b287d0d9259c8401e66a9824f946329044b255 (patch) | |
tree | ea93d6cfb1c63271b5664d72bc44d5e3f427f42b | |
parent | a42c74a18fefe7eb80a493a397180722162870e6 (diff) | |
download | libplist-35b287d0d9259c8401e66a9824f946329044b255.tar.gz libplist-35b287d0d9259c8401e66a9824f946329044b255.tar.bz2 |
Do not free plist node twice in Dictionary destructor.
-rw-r--r-- | src/Dictionary.cpp | 1 |
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(); |