Re: [Qemu-devel] [PULL 10/25] qdist: fix memory leak during binning

2016-08-02 Thread Marc-André Lureau
Hi On Tue, Aug 2, 2016 at 11:53 PM Paolo Bonzini wrote: > From: "Emilio G. Cota" > > 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 > Message-Id: <1469459025-23606-2-git-send-email-c..

[Qemu-devel] [PULL 10/25] qdist: fix memory leak during binning

2016-08-02 Thread Paolo Bonzini
From: "Emilio G. Cota" 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 Message-Id: <1469459025-23606-2-git-send-email-c...@braap.org> Signed-off-by: Paolo Bonzini --- util/qdist.c | 2 +- 1