summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/installation_proxy.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/installation_proxy.c b/src/installation_proxy.c
index cffadd9..9aa896b 100644
--- a/src/installation_proxy.c
+++ b/src/installation_proxy.c
@@ -548,16 +548,11 @@ instproxy_error_t instproxy_uninstall(instproxy_client_t client, const char *app
}
instproxy_error_t res = INSTPROXY_E_UNKNOWN_ERROR;
- plist_t dict = plist_new_dict();
- plist_dict_insert_item(dict, "ApplicationIdentifier", plist_new_string(appid));
- plist_dict_insert_item(dict, "Command", plist_new_string("Uninstall"));
instproxy_lock(client);
res = instproxy_send_command(client, "Uninstall", client_options, appid, NULL);
instproxy_unlock(client);
- plist_free(dict);
-
if (res != INSTPROXY_E_SUCCESS) {
debug_info("could not send plist, error %d", res);
return res;