summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2010-12-19 17:23:24 +0530
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2010-12-19 17:40:12 +0530
commitbf00fb84f38ab72934fcdda6d1a656f170c7f5b2 (patch)
treea80a91e8675b3a2158e261193256991f7ce0f4de /tests
parent8c371e5c353b07125d707930cbc6df66412a45d7 (diff)
downloadgstreamer-plugins-bad-bf00fb84f38ab72934fcdda6d1a656f170c7f5b2.tar.gz
tests: Fix leak in autoconvert test
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/autoconvert.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/check/elements/autoconvert.c b/tests/check/elements/autoconvert.c
index c36247f70..037795378 100644
--- a/tests/check/elements/autoconvert.c
+++ b/tests/check/elements/autoconvert.c
@@ -20,7 +20,7 @@
*/
#ifdef HAVE_CONFIG_H
-# include "config.h"
+#include "config.h"
#endif
#include <gst/gst.h>
@@ -77,6 +77,8 @@ set_autoconvert_factories (GstElement * autoconvert)
}
g_object_set (G_OBJECT (autoconvert), "factories", factories, NULL);
+
+ g_list_free (factories);
}
typedef struct