summaryrefslogtreecommitdiffstats
path: root/src/Dictionary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Dictionary.cpp')
-rw-r--r--src/Dictionary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp
index d4aac2e..0030df6 100644
--- a/src/Dictionary.cpp
+++ b/src/Dictionary.cpp
@@ -72,7 +72,7 @@ Dictionary::Dictionary(PList::Dictionary& d) : 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);
}