]> xenbits.xensource.com Git - libvirt.git/commit
libvirtd: avoid a NULL dereference on error path
authorJim Meyering <meyering@redhat.com>
Mon, 14 Dec 2009 15:45:11 +0000 (16:45 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 15 Dec 2009 06:53:27 +0000 (07:53 +0100)
commit63a499d3f33e44e27ddd186fa734ea60d7a519fb
tree06800730f3ee378996edea3112148fcf3ba5beb7
parent52a18abd949b3b46a72f0abb6fbdd7aaf17dda4b
libvirtd: avoid a NULL dereference on error path

* daemon/libvirtd.c (qemudDispatchServer): Since "client" may be
NULL in the "cleanup:" block, free client->rx only when it's not.
daemon/libvirtd.c