camerabin: Fix leaks in the preview handling
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 2 Nov 2010 12:39:49 +0000 (09:39 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 2 Nov 2010 12:39:49 +0000 (09:39 -0300)
commit7ae195788a6866466558ea9af26a4df830d1b96f
tree52eb65aea4b642be9ebd10a045de3c74fccf1308
parent5a5fca2689dcbda063f49235cfa8a2346a014e71
camerabin: Fix leaks in the preview handling

Remember to unref the bus after adding the watch.
Remember to unref the element after getting it with
gst_bin_get_by_name.
gst/camerabin/camerabinpreview.c