stream: Fix leaked joined_bin
authorXavier Claessens <xavier.claessens@collabora.com>
Wed, 7 Sep 2016 14:12:18 +0000 (10:12 -0400)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 7 Sep 2016 15:40:57 +0000 (18:40 +0300)
commitf90ab92547dcc2034744ed2abab2077be804b5c6
tree2ea2b925333cdb5e90da92830b54fe829a5a5441
parentd33eca6156fde0dbc303615da278c098cdb1d0f0
stream: Fix leaked joined_bin

There is no need to keep a strong ref on it, and _leave_bin() was
setting it to NULL before calling g_clear_object() so it was leaked.

https://bugzilla.gnome.org/show_bug.cgi?id=766612
common
gst/rtsp-server/rtsp-stream.c