Fix prevent issue
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 20 Feb 2014 02:05:16 +0000 (11:05 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 20 Feb 2014 02:05:16 +0000 (11:05 +0900)
Change-Id: I951cb99fc816abfd33dd250134ee8492d312b324

lib/src/main.c

index f857e4c..4261a39 100644 (file)
@@ -858,7 +858,10 @@ EAPI int shortcut_get_list(const char *appid, int (*cb)(const char *appid, const
                }
 
                free(i18n_name);
+               i18n_name = NULL;
+
                free(i18n_icon);
+               i18n_icon = NULL;
        }
 
        sqlite3_reset(stmt);