diff options
| author | 2009-10-16 23:33:39 +0200 | |
|---|---|---|
| committer | 2009-10-16 23:33:39 +0200 | |
| commit | 7372d12b5aa3bd09b20ad9e8f5210d950b001967 (patch) | |
| tree | 3838c30c6acc1c1ccb9a0acca20ccb3522c039f3 /src | |
| parent | 0f69774fcfe32ac2a8dacefbea61e84d0a26a012 (diff) | |
| download | libplist-7372d12b5aa3bd09b20ad9e8f5210d950b001967.tar.gz libplist-7372d12b5aa3bd09b20ad9e8f5210d950b001967.tar.bz2 | |
Fix key valuation in dictionary loop.
Diffstat (limited to 'src')
| -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() | |||
| 80 | subnode = NULL; | 80 | subnode = NULL; |
| 81 | free(key); | 81 | free(key); |
| 82 | key = NULL; | 82 | key = NULL; |
| 83 | plist_dict_next_item(_node, it, NULL, &subnode); | 83 | plist_dict_next_item(_node, it, &key, &subnode); |
| 84 | } | 84 | } |
| 85 | free(it); | 85 | free(it); |
| 86 | } | 86 | } |
