summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSemun Lee <sm79.lee@samsung.com>2016-07-07 20:10:16 +0900
committerSemun Lee <sm79.lee@samsung.com>2016-07-07 21:21:00 +0900
commit28e81640c7c8c6e4d1b2d1fb60748ce7b983a847 (patch)
tree55062863c7ea4273a7f9b2ea3eda659a518d5aba /include
parent45d05396088457b0f8aa1cfaa3969ecdeeea4ab4 (diff)
downloadui-gadget-1-28e81640c7c8c6e4d1b2d1fb60748ce7b983a847.tar.gz
ui-gadget-1-28e81640c7c8c6e4d1b2d1fb60748ce7b983a847.tar.bz2
ui-gadget-1-28e81640c7c8c6e4d1b2d1fb60748ce7b983a847.zip
dlopen ug shared library file again to prevent crash while terminating app. In some case, unloaded memory could be accessed by other libaries clean up routine. Fix double free of ad.name Change-Id: I612c318ccb798d76a0ac8b77ab8f23dbe2b1e974 Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/ug-module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ug-module.h b/include/ug-module.h
index 2db135f..36811d4 100644
--- a/include/ug-module.h
+++ b/include/ug-module.h
@@ -33,6 +33,6 @@ struct ug_module {
struct ug_module *ug_module_load(const char *name);
int ug_module_unload(struct ug_module *module);
-int ug_exist(const char* name);
+int ug_module_get_file_path(const char *name, char **ug_file_path);
#endif /* __UG_MODULE_H__ */