From 3542eac7f98e74ca106ac6df81b3b3cb158b35be Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 16 Dec 2014 22:24:54 +0100 Subject: shared: path-util - memory leak --- src/shared/path-util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared') 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; } -- cgit v1.2.3-54-g00ecf