shared: path-util - memory leak

This commit is contained in:
Tom Gundersen 2014-12-16 22:24:54 +01:00
parent c487c9cec0
commit 3542eac7f9

View file

@ -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;
}