gobject: unref unused class
authorMarek Kasik <mkasik@redhat.com>
Thu, 22 May 2014 09:00:14 +0000 (11:00 +0200)
committerMarek Kasik <mkasik@redhat.com>
Thu, 22 May 2014 09:00:14 +0000 (11:00 +0200)
commit6a8c2685be3992d0aac0c54d12a3fb31dd198624
tree97539005415a7549b2175c0c599c111d9083f62f
parentace7658b28642e8a5b9ffe54838ccb4847b1cc6b
gobject: unref unused class

If g_type_class_ref() returns a class which is not
a GObjectClass we need to unref it before return in
object_interface_check_properties().

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