diff options
Diffstat (limited to 'src/installation_proxy.c')
| -rw-r--r-- | src/installation_proxy.c | 5 |
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 | |||
| 548 | } | 548 | } |
| 549 | 549 | ||
| 550 | instproxy_error_t res = INSTPROXY_E_UNKNOWN_ERROR; | 550 | instproxy_error_t res = INSTPROXY_E_UNKNOWN_ERROR; |
| 551 | plist_t dict = plist_new_dict(); | ||
| 552 | plist_dict_insert_item(dict, "ApplicationIdentifier", plist_new_string(appid)); | ||
| 553 | plist_dict_insert_item(dict, "Command", plist_new_string("Uninstall")); | ||
| 554 | 551 | ||
| 555 | instproxy_lock(client); | 552 | instproxy_lock(client); |
| 556 | res = instproxy_send_command(client, "Uninstall", client_options, appid, NULL); | 553 | res = instproxy_send_command(client, "Uninstall", client_options, appid, NULL); |
| 557 | instproxy_unlock(client); | 554 | instproxy_unlock(client); |
| 558 | 555 | ||
| 559 | plist_free(dict); | ||
| 560 | |||
| 561 | if (res != INSTPROXY_E_SUCCESS) { | 556 | if (res != INSTPROXY_E_SUCCESS) { |
| 562 | debug_info("could not send plist, error %d", res); | 557 | debug_info("could not send plist, error %d", res); |
| 563 | return res; | 558 | return res; |
