diff options
author | Tom Gundersen <teg@jklm.no> | 2014-12-16 22:24:54 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-12-16 22:54:04 +0100 |
commit | 3542eac7f98e74ca106ac6df81b3b3cb158b35be (patch) | |
tree | 0759430c26020c1fd779540fcba298d61facc4b8 /src | |
parent | c487c9cec012282273e16f3110734309934a1281 (diff) |
shared: path-util - memory leak
Diffstat (limited to 'src')
-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 dcc8321f50..3256deeec1 100644 --- a/src/shared/path-util.c +++ b/src/shared/path-util.c @@ -306,6 +306,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; } |