Re: [Qemu-devel] [PATCH RFC 1/2] add bitmap_free() wrapper

2016-11-16 Thread Eduardo Habkost
On Wed, Nov 16, 2016 at 05:02:55PM +0100, Igor Mammedov wrote: > it will be used for freeing bitmaps allocated with bitmap_[try]_new() > > Signed-off-by: Igor Mammedov We need to change all code using g_free() for bitmaps to use bitmap_free(), as people in the future might assume that changing b

[Qemu-devel] [PATCH RFC 1/2] add bitmap_free() wrapper

2016-11-16 Thread Igor Mammedov
it will be used for freeing bitmaps allocated with bitmap_[try]_new() Signed-off-by: Igor Mammedov --- include/qemu/bitmap.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/qemu/bitmap.h b/include/qemu/bitmap.h index 63ea2d0..0289836 100644 --- a/include/qemu/bitmap.h +++ b/incl