[libvirt] PATCH: Convert buf.c to use memory alloc wrappers

Jim Meyering jim at meyering.net
Tue May 27 09:50:17 UTC 2008


"Daniel P. Berrange" <berrange at redhat.com> wrote:
> This patch coverts the virBuffer code over to using our internal memory
> allocation wrappers. It then fixes a bug in xend_internal.c where it
> was failing to check for allocation failure, although this was technically
> completely harmless, since the  virBuffer routines already protected
> against this specific scenario.
>
>  src/buf.c           |   16 ++++++----------
>  src/xend_internal.c |    4 ++++

ACK.
Good catch in xend_internal.c




More information about the libvir-list mailing list