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:41:52 +1100
commit5f8825e7d96f1e8cc2bf368e6dab413ed1f8a6c8 (patch)
treea55a94767c63d1754c9a8a29370306387c2ca07c
parentac9a2971bd7e9a54f4411ee5463eef406af46e88 (diff)
downloadgstreamer-plugins-bad-5f8825e7d96f1e8cc2bf368e6dab413ed1f8a6c8.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 aa927af89..7ebf6f0f2 100644
--- a/tests/check/libs/gstglcolorconvert.c
+++ b/tests/check/libs/gstglcolorconvert.c
@@ -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);
}