Change-Id: Ie31faeff68a199f960afb14cc7bb91d76b464d19
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;
}