summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/ug-client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/ug-client.c b/client/ug-client.c
index a672b45..72fb0ed 100644
--- a/client/ug-client.c
+++ b/client/ug-client.c
@@ -176,6 +176,9 @@ void _ug_client_result_cb(ui_gadget_h ug, app_control_h reply, void *priv)
result = APP_CONTROL_RESULT_SUCCEEDED;
}
+ if (value)
+ free(value);
+
ad = priv;
if (!ad) {
LOGE("appdata is null");