[libvirt] [libvirt-glib PATCHv2] Fix *_new_from_xml

Marc-André Lureau marcandre.lureau at gmail.com
Tue Jul 24 10:55:52 UTC 2012


On Tue, Jul 24, 2012 at 12:24 PM, Daniel P. Berrange
<berrange at redhat.com> wrote:
> Should we instead be using g_return_if_fail() so you get a dianostic,
> on the basis that this is programmer mistake ?

That was my feeling too. Although I think returning NULL is not a real
problem, especailly if the object implements GInitable.

-- 
Marc-André Lureau




More information about the libvir-list mailing list