shared: path-util - memory leak

(cherry picked from commit 3542eac7f9)
This commit is contained in:
Tom Gundersen
2015-01-16 00:56:56 -05:00
committed by Zbigniew Jędrzejewski-Szmek
parent 46ae5b6431
commit 731051b469
+1
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;
}