[libvirt] [PATCH 3/5] util: alloc: Introduce VIR_AUTOUNREF macro

Erik Skultety eskultet at redhat.com
Mon Feb 18 08:05:19 UTC 2019


On Fri, Feb 15, 2019 at 01:42:11PM +0100, Peter Krempa wrote:
> Add helper for utilizing __attribute__(cleanup())) for unref-ing
> instances of sublasses of virObject.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list