From 203ed497216af1691fa1ba3da3038ad62dfd0bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 24 Apr 2007 15:49:18 +0000 Subject: Plug some leaks; try to make build bot happy again. Original commit message from CVS: * gst/y4m/gsty4mencode.c: (gst_y4m_encode_init), (gst_y4m_encode_setcaps): * tests/check/elements/y4menc.c: (GST_START_TEST): Plug some leaks; try to make build bot happy again. --- tests/check/elements/y4menc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/check') diff --git a/tests/check/elements/y4menc.c b/tests/check/elements/y4menc.c index 56088891..b5c5fcc4 100644 --- a/tests/check/elements/y4menc.c +++ b/tests/check/elements/y4menc.c @@ -115,7 +115,7 @@ GST_START_TEST (test_y4m) case 0: fail_unless (strlen (data0) == 40); fail_unless (GST_BUFFER_SIZE (outbuffer) == size + 40); - fail_unless (strncmp (data0, GST_BUFFER_DATA (outbuffer), + fail_unless (memcmp (data0, GST_BUFFER_DATA (outbuffer), strlen (data0)) == 0); break; default: -- cgit v1.2.1