mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
tests: Fix leak in autoconvert test
This commit is contained in:
parent
8c371e5c35
commit
bf00fb84f3
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue