On 10/14/2011 04:12 PM, Roopa Prabhu wrote:
From: Roopa Prabhu<roprabhu@xxxxxxxxx> getPhysfnDev was conditionally allocating memory for physfndev on success. Recently added unconditional free in the caller of getPhysfnDev can result in a crash. So fix getPhysfnDev to unconditionally allocate memory for physfndev on success Signed-off-by: Roopa Prabhu<roprabhu@xxxxxxxxx> Acked-by: Eric Blake<eblake@xxxxxxxxxx> --- src/util/macvtap.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
Already pushed. -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list