]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virConfGetValue: Fixed NULL pointer check
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 19 Mar 2012 10:05:30 +0000 (11:05 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 19 Mar 2012 10:42:24 +0000 (11:42 +0100)
commit3992cfdd793bcf7c909388226896b6cb42e39b0d
tree9c82295bcc269b77f783602e635b40140053c46d
parent787f4feb4d39759de5c335b1e7eb4c4ace84d28b
virConfGetValue: Fixed NULL pointer check

This patch fixes a NULL pointer check that was causing SegFault on
some specific configurations. It also reverts commit 59d0c9801c1ab
that was checking for this value in one place.
src/libvirt.c
src/util/conf.c