[libvirt] [PATCH] storage: Fix memory leak in error path

John Ferlan jferlan at redhat.com
Wed Mar 6 12:44:58 UTC 2013


On 03/06/2013 07:35 AM, John Ferlan wrote:
> On 03/06/2013 06:59 AM, Jiri Denemark wrote:

>> +    virFreeError(err);
> 
> Not that it matters here, but I did find at least one path where a
> virSaveLastError() didn't call virFreeError() (e.g in
> storage_backend_logical.c).
> 

Oy - wrong window - gotta look before typing and grab a second cup of
coffee.  I meant src/network/bridge_driver.c - networkAddIptablesRules()

John




More information about the libvir-list mailing list