[PATCH v2 18/27] util: viralloc: Remove VIR_DISPOSE(_N)

Daniel P. Berrangé berrange at redhat.com
Wed Feb 3 11:18:05 UTC 2021


On Tue, Feb 02, 2021 at 05:55:55PM +0100, Peter Krempa wrote:
> The macros are unused now and callers who care about clearing the memory
> they use should use memset() appropriately.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>  src/libvirt_private.syms |  1 -
>  src/util/viralloc.c      | 39 ++-------------------------------------
>  src/util/viralloc.h      | 27 ---------------------------
>  3 files changed, 2 insertions(+), 65 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list