[libvirt] [PATCH] Free the return value of virFileFindResource
Peter Krempa
pkrempa at redhat.com
Mon Jul 7 06:47:03 UTC 2014
On 07/07/14 08:33, 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.
>
> 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(+)
The bug talks just about the defect in src/remote/remote_driver.c but
definitely worth fixing both places.
ACK
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140707/a7bb4a22/attachment-0001.sig>
More information about the libvir-list
mailing list