Avoid a possible NULL dereference (found by Coverity), also avoid some

2006-04-25  Matthias Clasen  <mclasen@redhat.com>

	* glib/gbookmarkfile.c (is_element_full): Avoid a possible
	NULL dereference (found by Coverity), also avoid some
	pointless strdups.
This commit is contained in:
Matthias Clasen
2006-04-26 03:55:43 +00:00
committed by Matthias Clasen
parent 2ce08609db
commit d4ac791e02
3 changed files with 18 additions and 9 deletions

View File

@@ -1,5 +1,9 @@
2006-04-25 Matthias Clasen <mclasen@redhat.com>
* glib/gbookmarkfile.c (is_element_full): Avoid a possible
NULL dereference (found by Coverity), also avoid some
pointless strdups.
* tests/keyfile-test.c (test_comments): Add a test for
the previous change.