diff options
author | Jonathan Beck | 2009-10-16 23:33:39 +0200 |
---|---|---|
committer | Jonathan Beck | 2009-10-16 23:33:39 +0200 |
commit | 7372d12b5aa3bd09b20ad9e8f5210d950b001967 (patch) | |
tree | 3838c30c6acc1c1ccb9a0acca20ccb3522c039f3 /src/Dictionary.cpp | |
parent | 0f69774fcfe32ac2a8dacefbea61e84d0a26a012 (diff) | |
download | libplist-7372d12b5aa3bd09b20ad9e8f5210d950b001967.tar.gz libplist-7372d12b5aa3bd09b20ad9e8f5210d950b001967.tar.bz2 |
Fix key valuation in dictionary loop.
Diffstat (limited to 'src/Dictionary.cpp')
-rw-r--r-- | src/Dictionary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp index 15df0b4..79f0afc 100644 --- a/src/Dictionary.cpp +++ b/src/Dictionary.cpp @@ -80,7 +80,7 @@ Dictionary::Dictionary(plist_t node) : Structure() subnode = NULL; free(key); key = NULL; - plist_dict_next_item(_node, it, NULL, &subnode); + plist_dict_next_item(_node, it, &key, &subnode); } free(it); } |