RQ161213-00667 [OSS_Improve_3.0] : [Memory Leak] Verifying usage of app_control_create() API
Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I7ec05ac99c79e205d054c9274b847edc79fb43ab
_send_response(request, NULL, result);
app_control_cb_map.erase(reply_id);
}
-
- bundle_free(appctl_bundle);
- app_control_destroy(app_control);
}
+
+ bundle_free(appctl_bundle);
+ app_control_destroy(app_control);
} else {
iotcon_response_result_e result;
ret = app_control_send_launch_request(app_control, NULL, NULL);