summaryrefslogtreecommitdiffstats
path: root/ext/annodex
diff options
context:
space:
mode:
authorMichael Smith <msmith@xiph.org>2006-04-10 15:29:21 +0000
committerMichael Smith <msmith@xiph.org>2006-04-10 15:29:21 +0000
commit9b98e1fd6f3b579313ed7b8316c123fc7e345eb4 (patch)
tree2f437ff3435fc929307fe3113012905fb370857a /ext/annodex
parent8ce75e7e780a7ef871ba8c0e74a6e080641997a2 (diff)
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.
Diffstat (limited to 'ext/annodex')
-rw-r--r--ext/annodex/gstcmmlutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/annodex/gstcmmlutils.c b/ext/annodex/gstcmmlutils.c
index 9e19e681..a9e561f8 100644
--- a/ext/annodex/gstcmmlutils.c
+++ b/ext/annodex/gstcmmlutils.c
@@ -287,7 +287,7 @@ gst_cmml_track_list_del_clip (GHashTable * tracks, GstCmmlTagClip * clip)
link = g_list_find (track->clips, clip);
if (link) {
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;
}
}