Change-Id: I90566d1a2958a35d384c28d9781fbd7f0b9e7288
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
g_variant_unref(body);
if (ret != NOTIFICATION_ERROR_NONE) {
NOTIFICATION_ERR("failed to make notification handle from gvariant");
+ notification_free(noti);
return;
}
notification_call_event_handler_cb(noti, event_type);
+ notification_free(noti);
}
static void _delete_event(GVariant *parameters)
if (dnd_allow_exception == NULL) {
g_object_unref(reply);
g_variant_iter_free(iter);
+ free(result_setting);
return NOTIFICATION_ERROR_OUT_OF_MEMORY;
}