socketsrc: Tidy up usage of `g_object_unref`/`g_clear_object` and locking
authorWilliam Manley <will@williammanley.net>
Fri, 13 Mar 2015 13:43:59 +0000 (13:43 +0000)
committerWim Taymans <wtaymans@redhat.com>
Fri, 13 Mar 2015 19:05:00 +0000 (20:05 +0100)
commita19ac4b85c9dbd930bf68058e8581b7e09a640ea
tree39d5d583d7c79d989343a8bace7dd91a4f049fa1
parent0c054aa00d99f02a73e83261ccb08f237c5e7b70
socketsrc: Tidy up usage of `g_object_unref`/`g_clear_object` and locking

This is clearer, and should make future changes safer.  No functional
change intended.

See https://bugzilla.gnome.org/show_bug.cgi?id=739546
gst/tcp/gstsocketsrc.c