summaryrefslogtreecommitdiff
path: root/cmds-scrub.c
diff options
context:
space:
mode:
authorZach Brown <zab@redhat.com>2013-01-23 12:18:32 -0800
committerZach Brown <zab@redhat.com>2013-02-05 16:09:40 -0800
commit09fac3824db462368f24d3dd4deccafedf5b3c8c (patch)
treeea5b2c3fa9c97b70d36911385d011eb4bb516107 /cmds-scrub.c
parentde763395fb05bcd5c1ae32f9cd88d55cb396231c (diff)
btrfs-progs: don't leak in set_extent_bits
It looks possible to hit the search_again label without using the prealloc. A new prealloc is allocated, leaking the current one. Every use of prealloc sets it to null so let's just allocate a new prealloc when we don't already have one. Signed-off-by: Zach Brown <zab@redhat.com>
Diffstat (limited to 'cmds-scrub.c')
0 files changed, 0 insertions, 0 deletions