tests: Fix leak in autoconvert test

This commit is contained in:
Olivier Crête 2010-12-19 17:23:24 +05:30
parent 8c371e5c35
commit bf00fb84f3

View file

@ -20,7 +20,7 @@
*/ */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include "config.h" #include "config.h"
#endif #endif
#include <gst/gst.h> #include <gst/gst.h>
@ -77,6 +77,8 @@ set_autoconvert_factories (GstElement * autoconvert)
} }
g_object_set (G_OBJECT (autoconvert), "factories", factories, NULL); g_object_set (G_OBJECT (autoconvert), "factories", factories, NULL);
g_list_free (factories);
} }
typedef struct typedef struct