ext/annodex/gstcmmlutils.c: Use g_list_delete_link () instead of g_list_remove_link () so that we free the link as we...
Original commit message from CVS: * ext/annodex/gstcmmlutils.c: (gst_cmml_track_list_del_clip): Use g_list_delete_link () instead of g_list_remove_link () so that we free the link as well as the contained data.
This commit is contained in:
parent
8ce75e7e78
commit
9b98e1fd6f
@ -1,3 +1,9 @@
|
|||||||
|
2006-04-10 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
|
* ext/annodex/gstcmmlutils.c: (gst_cmml_track_list_del_clip):
|
||||||
|
Use g_list_delete_link () instead of g_list_remove_link () so that
|
||||||
|
we free the link as well as the contained data.
|
||||||
|
|
||||||
2006-04-10 Wim Taymans <wim@fluendo.com>
|
2006-04-10 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
Patch by: Ryan Lortie (desrt) <desrt at destr dot ca>
|
Patch by: Ryan Lortie (desrt) <desrt at destr dot ca>
|
||||||
|
2
common
2
common
@ -1 +1 @@
|
|||||||
Subproject commit 1783855e983a5294434673694e8a57e44980b6f1
|
Subproject commit a6710e67fd82147e32a18f1b63177583faffd498
|
@ -287,7 +287,7 @@ gst_cmml_track_list_del_clip (GHashTable * tracks, GstCmmlTagClip * clip)
|
|||||||
link = g_list_find (track->clips, clip);
|
link = g_list_find (track->clips, clip);
|
||||||
if (link) {
|
if (link) {
|
||||||
g_object_unref (G_OBJECT (link->data));
|
g_object_unref (G_OBJECT (link->data));
|
||||||
track->clips = g_list_remove_link (track->clips, link);
|
track->clips = g_list_delete_link (track->clips, link);
|
||||||
res = TRUE;
|
res = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user