[libvirt] [PATCH v2 13/14] storage: Need to also VIR_FREE(reg)

Ján Tomko jtomko at redhat.com
Tue Jan 15 11:15:49 UTC 2013


On 01/15/13 12:07, Ján Tomko wrote:
> On 01/10/13 20:44, John Ferlan wrote:
>> Commit-id 'afc4631b' added the regfree(reg) to free resources alloc'd
>> during regcomp; however, reg still needed to be VIR_FREE()'d. The call
>> to regfree() also didn't account for possible NULL value.  Reformatted
>> the call to be closer to usage.
>> ---
>>  src/storage/storage_backend_logical.c | 7 +++++--
>>  1 file changed, 5 insertions(+), 2 deletions(-)
>>
> 
> ACK
> 

And pushed.




More information about the libvir-list mailing list