diff src/cue/cuesheet.c @ 1465:db616ccdd40c

use tuple_free(x) in place of mowgli_object_unref(x)
author Giacomo Lozito <james@develia.org>
date Sat, 11 Aug 2007 12:21:30 +0200
parents 195b5657303e
children eb0913bf54c3
line wrap: on
line diff
--- a/src/cue/cuesheet.c	Sat Aug 11 12:10:33 2007 +0200
+++ b/src/cue/cuesheet.c	Sat Aug 11 12:21:30 2007 +0200
@@ -295,7 +295,7 @@
 
     tuple_associate_int(out, "length", tuple_get_int(phys_tuple, "length"));
 
-    mowgli_object_unref(phys_tuple);
+    tuple_free(phys_tuple);
 
     tuple_associate_string(out, "title", cue_tracks[track].title);
     tuple_associate_string(out, "artist", cue_tracks[track].performer ?
@@ -327,7 +327,7 @@
 	*title = tuple_formatter_process_string(tuple, cfg.gentitle_format);
 	*length = tuple_get_int(tuple, "length");
 
-	mowgli_object_unref(tuple);
+	tuple_free(tuple);
 }
 
 static void seek(InputPlayback * data, gint time)