projects
/
platform
/
core
/
appfw
/
launchpad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9f8fc0
)
CPP check tool issues are fixed
70/140970/2
author
darpan.ka
<darpan.ka@samsung.com>
Thu, 27 Jul 2017 09:21:57 +0000
(14:51 +0530)
committer
Junghoon Park
<jh9216.park@samsung.com>
Mon, 31 Jul 2017 10:19:12 +0000
(10:19 +0000)
Change-Id: I7798b681071ed639a41d4767c8f1dac8384df487
Signed-off-by: darpan.ka <darpan.ka@samsung.com>
src/launchpad_common.c
patch
|
blob
|
history
diff --git
a/src/launchpad_common.c
b/src/launchpad_common.c
index
3e19df5
..
3bfc961
100644
(file)
--- a/
src/launchpad_common.c
+++ b/
src/launchpad_common.c
@@
-713,8
+713,10
@@
char *_get_libdir(const char *path)
if (path_dup == NULL)
return NULL;
ptr = strrchr(path_dup, '/');
- if (ptr == NULL)
+ if (ptr == NULL) {
+ free(path_dup);
return NULL;
+ }
*ptr = '\0';