bplist: Plug memory leak in case parsing a dictionary key fails
diff --git a/src/bplist.c b/src/bplist.c
index ecc0684..81bd716 100644
--- a/src/bplist.c
+++ b/src/bplist.c
@@ -444,6 +444,7 @@
 
         if (plist_get_data(key)->type != PLIST_STRING) {
             PLIST_BIN_ERR("%s: dict entry %" PRIu64 ": invalid node type for key\n", __func__, j);
+            plist_free(key);
             plist_free(node);
             return NULL;
         }