Commit 7372d12b authored by Jonathan Beck's avatar Jonathan Beck

Fix key valuation in dictionary loop.

parent 0f69774f
...@@ -80,7 +80,7 @@ Dictionary::Dictionary(plist_t node) : Structure() ...@@ -80,7 +80,7 @@ Dictionary::Dictionary(plist_t node) : Structure()
subnode = NULL; subnode = NULL;
free(key); free(key);
key = NULL; key = NULL;
plist_dict_next_item(_node, it, NULL, &subnode); plist_dict_next_item(_node, it, &key, &subnode);
} }
free(it); free(it);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment