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>