diff options
author | Tom Gundersen <teg@jklm.no> | 2014-12-16 22:24:54 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-12-20 10:05:27 -0500 |
commit | 8170dcd3695d60b456e28125f53874ef686128ca (patch) | |
tree | 955b4a636ead26960bd22fb360eec7b7df009398 | |
parent | 853a86e6a93326f4936b7a25741394d66b555991 (diff) |
shared: path-util - memory leak
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r-- | src/shared/path-util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/path-util.c b/src/shared/path-util.c index 5dfa8266ec..4367fa7088 100644 --- a/src/shared/path-util.c +++ b/src/shared/path-util.c @@ -183,6 +183,7 @@ char **path_strv_resolve(char **l, const char *prefix) { } else { /* canonicalized path goes outside of * prefix, keep the original path instead */ + free(u); u = orig; orig = NULL; } |