projects
/
platform
/
core
/
system
/
pass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed5687c
)
shared: Add missing free for avoiding memory leaks
42/116142/1
author
Wook Song
<wook16.song@samsung.com>
Wed, 22 Feb 2017 01:58:24 +0000
(10:58 +0900)
committer
Wook Song
<wook16.song@samsung.com>
Wed, 22 Feb 2017 01:58:24 +0000
(10:58 +0900)
This patch adds missing free() for avoiding possible memory leaks in the
shared directory.
Change-Id: Ie95db189d3d94d08d865ad3d7470d801b47c6dc1
Signed-off-by: Wook Song <wook16.song@samsung.com>
src/shared/pass-systemd.c
patch
|
blob
|
history
diff --git
a/src/shared/pass-systemd.c
b/src/shared/pass-systemd.c
index d418da2fb2adbac874b030e669e3daee8a37035b..b3a3c1234f0e8ac473885251508627efa6164558 100644
(file)
--- a/
src/shared/pass-systemd.c
+++ b/
src/shared/pass-systemd.c
@@
-197,7
+197,7
@@
static char *pass_systemd_get_unit_dbus_path(const char *unit)
p += k+1;
}
}
-
+ free(path);
return path;
}