On Fri, Jul 13, 2018 at 11:24:38PM +0530, Sukrit Bhatnagar wrote:
This series of patches first introduces a new set of macros which
help
in using GNU C's __attribute__((cleanup)) in the code.
Then a few syntax-check rules are added which help in ensuring correct
usage of the newly introduced cleanup macros.
Then the patches modify a few files in src/util to use VIR_AUTOFREE
and VIR_AUTOPTR for automatic freeing of memory and get rid of some
VIR_FREE macro invocations and *Free function calls.
Small note for future patch revisions, we tend to add a link to the archives
for previous references as well as a brief description of the changes made
against the previous version, you can find plenty of examples on the list on
how contributors do that (you can find the archives here [1]).
Anyhow, as there were no problems with v4, I went ahead and pushed the series,
looking forward to next patch series.
Erik
[1]
https://www.redhat.com/archives/libvir-list/