diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2020-05-19 09:39:37 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2020-05-19 09:39:37 +0900 |
commit | 71d30b08e6e735d3135173ea3ee69a96592b484c (patch) | |
tree | d01a4be0cd4c8c675f491e1b68f3be40ddbeb9e5 | |
parent | 09cf7a499cc99a0e8065c28fd1338aa44ab58adf (diff) | |
download | launchpad-71d30b08e6e735d3135173ea3ee69a96592b484c.tar.gz launchpad-71d30b08e6e735d3135173ea3ee69a96592b484c.tar.bz2 launchpad-71d30b08e6e735d3135173ea3ee69a96592b484c.zip |
Fix resource leak
Change-Id: If9de9ee89410b7cf27162be3d878d9035a30653b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rw-r--r-- | src/common/src/launchpad_plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/src/launchpad_plugin.c b/src/common/src/launchpad_plugin.c index d54d4ec..912c19d 100644 --- a/src/common/src/launchpad_plugin.c +++ b/src/common/src/launchpad_plugin.c @@ -48,6 +48,7 @@ int _launchpad_plugin_prepare_app(const char *app_id, bundle *kb) prepare_app = dlsym(handle, TAG_LAUNCHPAD_PLUGIN_PREPARE_APP); if (!prepare_app) { _W("Failed to load %s", TAG_LAUNCHPAD_PLUGIN_PREPARE_APP); + dlclose(handle); return 0; } |