diff options
| author | 2009-11-10 21:13:21 +0100 | |
|---|---|---|
| committer | 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() | |||
| 111 | { | 111 | { |
| 112 | for (Dictionary::iterator it = _map.begin(); it != _map.end(); it++) | 112 | for (Dictionary::iterator it = _map.begin(); it != _map.end(); it++) |
| 113 | { | 113 | { |
| 114 | plist_free(it->second->GetPlist()); | ||
| 115 | delete it->second; | 114 | delete it->second; |
| 116 | } | 115 | } |
| 117 | _map.clear(); | 116 | _map.clear(); |
