diff options
Diffstat (limited to 'src/partition/repart.c')
-rw-r--r-- | src/partition/repart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partition/repart.c b/src/partition/repart.c index 660eef563e..1c7ac5094e 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -5361,13 +5361,13 @@ static int make_subvolumes_strv(const Partition *p, char ***ret) { return log_oom(); if (p->suppressing) { - _cleanup_strv_free_ char **suppressing = NULL; + char **suppressing; r = make_subvolumes_strv(p->suppressing, &suppressing); if (r < 0) return r; - r = strv_extend_strv(&subvolumes, suppressing, /* filter_duplicates= */ true); + r = strv_extend_strv_consume(&subvolumes, suppressing, /* filter_duplicates= */ true); if (r < 0) return log_oom(); } |