summaryrefslogtreecommitdiffstats
path: root/tests/check
diff options
context:
space:
mode:
authorogg.k.ogg.k <ogg.k.ogg.k@googlemail.com>2009-07-20 16:24:23 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-07-20 23:45:47 +0100
commit265b75ca38913c7a9c0281d472f93e7936b6fa91 (patch)
tree9abf75326eeba5cdd4513908b89bb5d740c4abef /tests/check
parent8ac16a90e4d0cc05a5c1c84c0c04bded901795bb (diff)
downloadgst-plugins-bad-265b75ca38913c7a9c0281d472f93e7936b6fa91.tar.gz
gst-plugins-bad-265b75ca38913c7a9c0281d472f93e7936b6fa91.tar.bz2
gst-plugins-bad-265b75ca38913c7a9c0281d472f93e7936b6fa91.zip
kate: fix some minor memory leaks
Makes 'make check-valgrind' work for the kate unit test (#525743)
Diffstat (limited to 'tests/check')
-rw-r--r--tests/check/Makefile.am1
-rw-r--r--tests/check/elements/kate.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am
index 41581363..1aa99d1a 100644
--- a/tests/check/Makefile.am
+++ b/tests/check/Makefile.am
@@ -71,7 +71,6 @@ endif
VALGRIND_TO_FIX = \
- elements/kate \
elements/mpeg2enc \
elements/mplex
diff --git a/tests/check/elements/kate.c b/tests/check/elements/kate.c
index 80ea6882..551d72a1 100644
--- a/tests/check/elements/kate.c
+++ b/tests/check/elements/kate.c
@@ -413,7 +413,6 @@ GST_START_TEST (test_kate_encode_empty)
1 * GST_SECOND;
GST_BUFFER_DURATION (inbuffer) = 5 * GST_SECOND;
ASSERT_BUFFER_REFCOUNT (inbuffer, "inbuffer", 1);
- gst_buffer_ref (inbuffer);
caps = gst_caps_from_string ("text/plain");
fail_unless (caps != NULL);