Fix crashes in various GParamSpec creation functions
authorSimon Feltman <sfeltman@src.gnome.org>
Tue, 1 Oct 2013 10:38:24 +0000 (03:38 -0700)
committerSimon Feltman <sfeltman@src.gnome.org>
Wed, 2 Oct 2013 01:31:17 +0000 (18:31 -0700)
commit2f57139b282f2ddf110966d4d0e80c6409230f67
tree30d8a230d44054611e44220b1042bcd5bc24a662
parent75bb906e5ea7927f8d411085e8e7539c5b85c313
Fix crashes in various GParamSpec creation functions

Add NULL check and return after calls to g_param_spec_internal in GParamSpec
creation functions. This avoids glib crashing due to things like badly named
properties.

https://bugzilla.gnome.org/show_bug.cgi?id=707887
gobject/gparamspecs.c