Change-Id: I6dfa71dd1baebac7c12725badf15459b29b13204
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
package_id = NULL;
}
+ if (appid) {
+ free(appid);
+ appid = NULL;
+ }
+
elm_shutdown();
}
app_ops = callback;
app_user_data = user_data;
r = __before_loop(argc, argv);
- if (r < 0)
+ if (r < 0) {
+ if (appid) {
+ free(appid);
+ appid = NULL;
+ }
return r;
+ }
ecore_main_loop_begin();
aul_status_update(STATUS_DYING);
else
context->content = NULL;
+ free(raw);
if (ret < 0) {
/* LCOV_EXCL_START */
_E("failed to send content info: %s of %s (%d)", context->id,