Re: [PATCH] Free the return value of virFileFindResource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]