Re: [libvirt] [PATCH v1 18/21] util: identity: use VIR_AUTOFREE instead of VIR_FREE for scalar types

2018-06-25 Thread Erik Skultety
On Fri, Jun 08, 2018 at 01:04:40AM +0530, Sukrit Bhatnagar wrote: > By making use of the GCC's __attribute__((cleanup)) handled by VIR_AUTOFREE > macro, majority of the VIR_FREE calls can be dropped, which in turn leads to > getting rid of most of our cleanup sections. You're missing the SoB line

[libvirt] [PATCH v1 18/21] util: identity: use VIR_AUTOFREE instead of VIR_FREE for scalar types

2018-06-07 Thread Sukrit Bhatnagar
By making use of the GCC's __attribute__((cleanup)) handled by VIR_AUTOFREE macro, majority of the VIR_FREE calls can be dropped, which in turn leads to getting rid of most of our cleanup sections. --- src/util/viridentity.c | 54 -- 1 file changed,