tests: Fix potential g_object_unref(NULL) calls in libebook tests
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 29 Nov 2013 08:58:40 +0000 (08:58 +0000)
committerMatthew Barnes <mbarnes@redhat.com>
Tue, 3 Dec 2013 22:53:55 +0000 (17:53 -0500)
commitfcccd30fb3d34feb2b040bade6c0595314e4e4e5
tree13d6a43aa3a153844e13270eef433fb0d8a3f81f
parent3304de4e2db1be25fb40a413e824b6c0f44069a9
tests: Fix potential g_object_unref(NULL) calls in libebook tests

Found by scan-build.

https://bugzilla.gnome.org/719533
tests/libebook/test-ebook-get-required-fields.c
tests/libebook/test-ebook-get-supported-fields.c