]> Git Repo - qemu.git/commit
qdist: fix memory leak during binning
authorEmilio G. Cota <[email protected]>
Mon, 25 Jul 2016 15:03:43 +0000 (11:03 -0400)
committerPaolo Bonzini <[email protected]>
Tue, 2 Aug 2016 10:03:58 +0000 (12:03 +0200)
commitf9dbc19e8bf58d0cbc830083352475bb16f315c4
tree667a9855db8de72822a5776dcc032ff10aefab7b
parentba03584f4f88082368b2562e515c3d60421b68ce
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 <[email protected]>
Message-Id: <1469459025[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
util/qdist.c
This page took 0.023255 seconds and 4 git commands to generate.