diff options
Diffstat (limited to 'src/mf-ug-main.c')
-rw-r--r-- | src/mf-ug-main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mf-ug-main.c b/src/mf-ug-main.c index a415596..29b8c3e 100644 --- a/src/mf-ug-main.c +++ b/src/mf-ug-main.c @@ -131,6 +131,10 @@ static void __mf_ug_main_free_data(void *data) free(ugd->ug_Status.ug_pUpper_folder); ugd->ug_Status.ug_pUpper_folder = NULL; } + if (ugd->ug_Status.ug_pEntryPath) { + free(ugd->ug_Status.ug_pEntryPath); + ugd->ug_Status.ug_pEntryPath = NULL; + } UG_TRACE_END; @@ -323,6 +327,7 @@ static int __mf_ug_main_set_path_option(void *data, const char *path) } ugd->ug_Status.ug_bInSettingView = true; ugd->ug_Status.ug_bSettingEntry = true; + ugd->ug_Status.ug_pEntryPath = g_strdup(path); } else if (strlen(path) == 1 && strncmp(path, "/", 1)) { /**chech the path whether is "/" */ entry_path = strdup(PHONE_FOLDER); |