[libvirt] [PATCH v4 01/31] util: alloc: add macros for implementing automatic cleanup functionality

Erik Skultety eskultet at redhat.com
Sat Jul 14 15:10:22 UTC 2018


On Fri, Jul 13, 2018 at 11:24:39PM +0530, Sukrit Bhatnagar wrote:
> New macros are introduced which help in adding GNU C's cleanup
> attribute to variable declarations. Variables declared with these
> macros will have their allocated memory freed automatically when
> they go out of scope.
>
> Signed-off-by: Sukrit Bhatnagar <skrtbhtngr at gmail.com>
> Reviewed-by: Erik Skultety <eskultet at redhat.com>
> ---

For future reference, you only append the "Reviewed-by" tag to the commit
message when you get one from the reviewer for a specific patch ;), not copying
it automatically to all the patches. For completeness

Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list