diff options
author | David King <amigadave@amigadave.com> | 2014-01-02 16:06:23 +0000 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2014-01-02 16:11:26 +0000 |
commit | d72d5f7ab39676679463d423960e437468022839 (patch) | |
tree | 75a9c56717f4eb9bc0c486d5f5907f3c28ef5ecc | |
parent | 0298d205282161dd3972dec6ed4df50e8c050d2f (diff) | |
download | clutter-gst-d72d5f7ab39676679463d423960e437468022839.tar.gz |
Fix memory leak in clutter_gst_auto_video_sink_accept_caps()
https://bugzilla.gnome.org/show_bug.cgi?id=721344
-rw-r--r-- | clutter-gst/clutter-gst-auto-video-sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter-gst/clutter-gst-auto-video-sink.c b/clutter-gst/clutter-gst-auto-video-sink.c index 4977d5b..9157430 100644 --- a/clutter-gst/clutter-gst-auto-video-sink.c +++ b/clutter-gst/clutter-gst-auto-video-sink.c @@ -457,7 +457,7 @@ clutter_gst_auto_video_sink_accept_caps (ClutterGstAutoVideoSink * bin, if (!gst_caps_is_empty (result)) ret = TRUE; - caps = result; + gst_caps_unref (result); } gst_caps_unref (allowed_caps); |