Skip to content

Commit 8d77ed4

Browse files
committed
lib: fix memory leak in files check
1 parent 64cac39 commit 8d77ed4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/transaction_files.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,7 @@ xbps_transaction_files(struct xbps_handle *xhp, xbps_object_iterator_t iter)
874874
update, removepkg, preserve, true);
875875
if (rv != 0)
876876
goto out;
877+
xbps_object_release(filesd);
877878
}
878879
}
879880
xbps_object_iterator_reset(iter);

0 commit comments

Comments
 (0)