diff options
Diffstat (limited to 'src/shared/path-util.c')
-rw-r--r-- | src/shared/path-util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/path-util.c b/src/shared/path-util.c index a94de4af81..b1f997aef3 100644 --- a/src/shared/path-util.c +++ b/src/shared/path-util.c @@ -385,6 +385,9 @@ fallback: return -errno; } + free(parent); + parent = NULL; + r = path_get_parent(t, &parent); if (r < 0) return r; |