[libvirt] [PATCH v1 00/32] use GNU C's cleanup attribute in src/util (batch III)

Erik Skultety eskultet at redhat.com
Tue Aug 7 14:35:48 UTC 2018


On Sat, Jul 28, 2018 at 11:31:15PM +0530, Sukrit Bhatnagar wrote:
> This third series of patches also modifies 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.

So I went ahead an pushed most of the patches (some got tiny adjustments as I
noted in the review, I split some of them in 2 when there was a function being
defined at the same time as a usage of the VIR_DEFINE_AUTOPTR_FUNC).
Following are the patches where there were some issues that need to be worked
on (like the virBuffer leak) or there was something missing and therefore are
not pushed: 3, 6, 7, 10, 13, 14, 18, 23.

Erik




More information about the libvir-list mailing list