tests:glcolorconvert: Fix caps memory leak
authorVineeth TM <vineeth.tm@samsung.com>
Wed, 11 Nov 2015 07:06:25 +0000 (16:06 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:11 +0000 (19:32 +0000)
Output caps being got from video info is not getting freed

https://bugzilla.gnome.org/show_bug.cgi?id=757929

tests/check/libs/gstglcolorconvert.c

index aa927af..7ebf6f0 100644 (file)
@@ -204,6 +204,7 @@ check_conversion (TestFrame * frames, guint size)
         }
       }
 
+      gst_caps_unref (out_caps);
       gst_video_frame_unmap (&out_frame);
       gst_buffer_unref (outbuf);
     }