Am 19.06.2021 um 16:21 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. > > I'll update more places with a follow-up if this is accepted.
Good idea. Thanks, applied to the block branch. Kevin