ryuan pushed a commit to branch master.
commit d348108dc7490ef62f903efb961e2eb824f02479
Author: Ryuan Choi <[email protected]>
Date: Sat Jun 15 13:02:25 2013 +0900
elm_main : Do not release strings which eina_prefix returns
The getter functions of eina_prefix just returns internal string.
So they should not be released in application side.
---
src/lib/elm_main.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/lib/elm_main.c b/src/lib/elm_main.c
index 4a02a75..7f89287 100644
--- a/src/lib/elm_main.c
+++ b/src/lib/elm_main.c
@@ -184,11 +184,6 @@ _prefix_shutdown(void)
if (app_compile_lib_dir) eina_stringshare_del(app_compile_lib_dir);
if (app_compile_data_dir) eina_stringshare_del(app_compile_data_dir);
if (app_compile_locale_dir) eina_stringshare_del(app_compile_locale_dir);
- if (app_prefix_dir) eina_stringshare_del(app_prefix_dir);
- if (app_bin_dir) eina_stringshare_del(app_bin_dir);
- if (app_lib_dir) eina_stringshare_del(app_lib_dir);
- if (app_data_dir) eina_stringshare_del(app_data_dir);
- if (app_locale_dir) eina_stringshare_del(app_locale_dir);
app_mainfunc = NULL;
app_domain = NULL;
app_checkfile = NULL;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev