Re: [PATCH v2 09/39] qemuDomainGetHostdevPath: Drop @freeTmpPath

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

 



On 9/26/19 12:12 PM, Michal Privoznik wrote:
> The @freeTmpPath boolean is used to determine if @tmpPath holds
> an allocated memory or is a pointer to a constant string and
> therefore if it needs to be freed or not when returning from the
> function. Well, we can unify the way we set @tmpPath so that it
> always holds an allocated memory and thus always must be freed.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

Reviewed-by: Cole Robinson <crobinso@xxxxxxxxxx>

- Cole

--
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]

  Powered by Linux