# HG changeset patch # User rosfran # Date 1175627521 -3600 # Node ID b15d16fb4039a9dc5016b7129867217d6610a826 # Parent 1f143a0376aa570c50af3d2bfe67cc59be19b42e [svn r495] Some more code clean-ups. diff -r 1f143a0376aa -r b15d16fb4039 gmyth/src/gmyth_livetv.c --- a/gmyth/src/gmyth_livetv.c Tue Apr 03 19:48:52 2007 +0100 +++ b/gmyth/src/gmyth_livetv.c Tue Apr 03 20:12:01 2007 +0100 @@ -103,7 +103,7 @@ } if ( livetv->recorder != NULL ) { - gmyth_recorder_close(livetv->recorder); + //gmyth_recorder_close(livetv->recorder); g_object_unref (livetv->recorder); livetv->recorder = NULL; } diff -r 1f143a0376aa -r b15d16fb4039 gmyth/src/gmyth_recorder.c --- a/gmyth/src/gmyth_recorder.c Tue Apr 03 19:48:52 2007 +0100 +++ b/gmyth/src/gmyth_recorder.c Tue Apr 03 20:12:01 2007 +0100 @@ -72,7 +72,7 @@ { GMythRecorder *recorder= GMYTH_RECORDER(object); - /* gmyth_recorder_close(recorder); */ + gmyth_recorder_close(recorder); if ( recorder->mutex != NULL) { g_mutex_free(recorder->mutex); diff -r 1f143a0376aa -r b15d16fb4039 gmyth/src/gmyth_util.c --- a/gmyth/src/gmyth_util.c Tue Apr 03 19:48:52 2007 +0100 +++ b/gmyth/src/gmyth_util.c Tue Apr 03 20:12:01 2007 +0100 @@ -592,6 +592,7 @@ gmyth_debug( "Got %d channels!!!", g_list_length( channel_list ) ); + g_object_unref (recorder); return channel_list;