[PACKAGE UPLOAD] 0.0.49
authorEunmi Son <eunmi.son@samsung.com>
Fri, 11 Jan 2013 09:19:56 +0000 (18:19 +0900)
committerEunmi Son <eunmi.son@samsung.com>
Fri, 11 Jan 2013 09:19:56 +0000 (18:19 +0900)
Fix the crash when click back button in info view

Change-Id: Ie0164cebfb245df63cc5df17e6d0637a7c62c55f

packaging/ug-setting-manage-applications-efl.spec
view/src/mgr-app-view-app-info.c

index 5f3d6bd..7348404 100644 (file)
@@ -3,7 +3,7 @@
 
 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
index 757d5fe..53db59e 100755 (executable)
@@ -141,9 +141,12 @@ void _app_info_back_cb(void *data, Evas_Object *obj, void *event_info)
        }
 
        /* 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();