aboutsummaryrefslogtreecommitdiff
path: root/qemu-img.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2016-07-25 11:03:43 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2016-08-02 12:03:58 +0200
commitf9dbc19e8bf58d0cbc830083352475bb16f315c4 (patch)
tree667a9855db8de72822a5776dcc032ff10aefab7b /qemu-img.c
parentba03584f4f88082368b2562e515c3d60421b68ce (diff)
qdist: fix memory leak during binning
In qdist_bin__internal(), to->entries is initialized to a 1-element array, which we then leak when n == from->n. Fix it. Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <1469459025-23606-2-git-send-email-cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions