Fixed misuse of free() instead of plist_free().