Re: [PATCH] nodedev: use autofree for more local variables

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

 



On Fri, Jan 10, 2020 at 03:51:07PM -0600, Jonathon Jongsma wrote:
> Simplify function logic by using g_autofree to free local variables so
> that we can remove some goto statements that are used for cleanup.
>
> Introduce a g_autoptr cleanup function for virNodeDeviceDef.
>
> Signed-off-by: Jonathon Jongsma <jjongsma@xxxxxxxxxx>
Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>





[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