mpegvideoparse: make this build with older glib
g_list_free_full is a new convenience function. Replace it with g_list_foreach and g_list_free. https://bugzilla.gnome.org/show_bug.cgi?id=658450
This commit is contained in:
parent
724d7a3def
commit
1a6dbe1e27
@ -497,7 +497,8 @@ end:
|
||||
ret = FALSE;
|
||||
}
|
||||
|
||||
g_list_free_full (mpvparse->typeoffsize, (GDestroyNotify) g_free);
|
||||
g_list_foreach (mpvparse->typeoffsize, (GFunc) g_free, NULL);
|
||||
g_list_free (mpvparse->typeoffsize);
|
||||
mpvparse->typeoffsize = NULL;
|
||||
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user