mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
btrfs: fix leak in btrfs_scrub_status
Properly free the output buffer.
This commit is contained in:
@@ -1814,7 +1814,7 @@ do_btrfs_scrub_status (const char *path)
|
||||
CLEANUP_FREE char *path_buf = NULL;
|
||||
CLEANUP_FREE char *err = NULL;
|
||||
CLEANUP_FREE_STRING_LIST char **lines = NULL;
|
||||
char *out;
|
||||
CLEANUP_FREE char *out = NULL;
|
||||
int r;
|
||||
guestfs_int_btrfsscrub *ret;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user