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;
 		}