[libvirt] [PATCH] Free the return value of virFileFindResource

Eric Blake eblake at redhat.com
Mon Jul 7 21:58:42 UTC 2014


On 07/07/2014 12:33 AM, Ján Tomko wrote:
> Commits e18a80a and 57e5c3c switched from a getenv wrapper which
> does not allocate a string to virFileFindResource which does not,
> without freeing it.

I think you meant s/which does not/which does/ in the second use of the
phrase.

> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1116427
> ---
>  src/locking/lock_driver_lockd.c | 2 ++
>  src/remote/remote_driver.c      | 3 +++
>  2 files changed, 5 insertions(+)
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140707/db08575c/attachment-0001.sig>


More information about the libvir-list mailing list