sys/v4l2/v4l2src_calls.c: Fix hang.

Original commit message from CVS:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_clear_format_list):
Fix hang.
This commit is contained in:
Ronald S. Bultje 2004-10-24 18:15:23 +00:00
parent cdd824a3da
commit 9826bfa5b4
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-10-24 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_clear_format_list):
Fix hang.
2004-10-24 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* sys/v4l2/gstv4l2element.h:

View file

@ -101,6 +101,7 @@ gst_v4l2src_clear_format_list (GstV4l2Src * v4l2src)
{
g_slist_foreach (v4l2src->formats, (GFunc) g_free, NULL);
g_slist_free (v4l2src->formats);
v4l2src->formats = NULL;
return TRUE;
}