summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2015-11-11 16:06:25 +0900
committerMatthew Waters <matthew@centricular.com>2015-11-11 21:43:08 +1100
commitae89eab816f2974f1ba9b5bb474a085640ffa4fe (patch)
tree166fdcae6c6004d2a8dae584f25a4d61bfc648a7
parent3f6fa591cb685362dc8141ab4cc54b4f9466ad99 (diff)
downloadgstreamer-plugins-bad-ae89eab816f2974f1ba9b5bb474a085640ffa4fe.tar.gz
tests:glcolorconvert: Fix caps memory leak
Output caps being got from video info is not getting freed https://bugzilla.gnome.org/show_bug.cgi?id=757929
-rw-r--r--tests/check/libs/gstglcolorconvert.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/libs/gstglcolorconvert.c b/tests/check/libs/gstglcolorconvert.c
index 3e3007789..2a012638a 100644
--- a/tests/check/libs/gstglcolorconvert.c
+++ b/tests/check/libs/gstglcolorconvert.c
@@ -203,6 +203,7 @@ check_conversion (TestFrame * frames, guint size)
}
}
+ gst_caps_unref (out_caps);
gst_video_frame_unmap (&out_frame);
gst_buffer_unref (outbuf);
}