tests: fix leak in baseparse test
authorTim-Philipp Müller <tim@centricular.com>
Sun, 9 Feb 2014 00:25:14 +0000 (00:25 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 9 Feb 2014 00:25:49 +0000 (00:25 +0000)
Or rather make it not show up any more by moving
it from 'definitely lost' into 'possibly lost'.

tests/check/libs/baseparse.c

index 42b260b..3adb86c 100644 (file)
@@ -121,12 +121,12 @@ gst_parser_tester_init (GstParserTester * tester)
 static void
 setup_parsertester (void)
 {
-  GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
+  static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
       GST_PAD_SINK,
       GST_PAD_ALWAYS,
       GST_STATIC_CAPS ("video/x-test-custom")
       );
-  GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
+  static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
       GST_PAD_SRC,
       GST_PAD_ALWAYS,
       GST_STATIC_CAPS ("video/x-test-custom")