[libvirt] [PATCH 2/3] Rework remoteSerializeDHCPLease

Daniel P. Berrange berrange at redhat.com
Tue Jun 24 12:50:48 UTC 2014


On Tue, Jun 24, 2014 at 02:45:33PM +0200, Ján Tomko wrote:
> Don't leak the temporary variables on success if NULL is returned
> for that field.
> 
> Don't dereference NULL on failure to allocate some of the temporaries.
> 
> Introduced by commit 990c3b6
> ---
>  daemon/remote.c | 53 ++++++++++++++++++++++++++++++++++-------------------
>  1 file changed, 34 insertions(+), 19 deletions(-)

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list