commit | 7e8784718fb157e4518d9241492726ba3235ae04 | [log] [tgz] |
---|---|---|
author | Aaron Burghardt <aburgh@mac.com> | Mon Oct 28 22:13:08 2013 -0400 |
committer | Martin Szulecki <m.szulecki@mirell.de> | Tue Nov 12 14:55:51 2013 +0100 |
tree | 4283c054021d52ac3a84c45230a878464fb9a724 | |
parent | 3ccf0f44e88ccd1fe58a3be0fe8bb449218f2ae0 [diff] |
Fixed misuse of free() instead of plist_free().
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c index 73cf4e3..6cc48cf 100644 --- a/src/libusbmuxd.c +++ b/src/libusbmuxd.c
@@ -167,7 +167,7 @@ plist_t node = plist_dict_get_item(plist, "MessageType"); if (plist_get_node_type(node) != PLIST_STRING) { DEBUG(1, "%s: Error getting message type from plist!\n", __func__); - free(plist); + plist_free(plist); return -EBADMSG; }