qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 0/2] introduce QEMU_AUTO_VFREE


From: Kevin Wolf
Subject: Re: [PATCH v2 0/2] introduce QEMU_AUTO_VFREE
Date: Tue, 29 Jun 2021 17:44:26 +0200

Am 28.06.2021 um 14:11 hat Vladimir Sementsov-Ogievskiy geschrieben:
> Hi all!
> 
> There is a good movement to use g_autofree macro, that helps to
> automatically call g_free on exit from code block.
> 
> We lack similar possibility for qemu_memalign() functions family. Let's
> add, it seems rather simple with help of "cleanup" attribute.
> 
> v2: rewrite 01 (as first version was just wrong)

Thanks, applied to the block branch.

Kevin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]