Fix the crash when click back button in info view
Change-Id: Ie0164cebfb245df63cc5df17e6d0637a7c62c55f
Name: ug-setting-manage-applications-efl
Summary: Manage Application package
-Version: 0.0.48
+Version: 0.0.49
Release: 0
Group: Applications/System
License: Flora Software License
}
/* ug destroy */
- ret = ug_destroy(ugd->sub_ug);
- if (-1 == ret) {
- MGR_APP_DEBUG_ERR("ug_destroy ugd->sub_ug is failed");
+ if (ugd->sub_ug) {
+ ret = ug_destroy(ugd->sub_ug);
+ if (-1 == ret)
+ MGR_APP_DEBUG_ERR("ug_destroy ugd->sub_ug is failed");
+ else
+ ugd->sub_ug = NULL;
}
mgr_app_doubletap_sensor_disable();