# HG changeset patch # User melunko # Date 1174576778 0 # Node ID be6bb250b01a4feac3f350c2908c91b672cc322e # Parent 0b3aa34f340a0b6d15d78a8bc64ea1e4dcc0343a [svn r432] Added some g_object_unref (stringlist) at gmyth_filetransfer diff -r 0b3aa34f340a -r be6bb250b01a gmyth/src/gmyth_file_transfer.c --- a/gmyth/src/gmyth_file_transfer.c Thu Mar 22 15:11:35 2007 +0000 +++ b/gmyth/src/gmyth_file_transfer.c Thu Mar 22 15:19:38 2007 +0000 @@ -559,6 +559,9 @@ gmyth_debug ( "[%s] got reading position pointer from the streaming = %lld\n", __FUNCTION__, retval ); + g_object_unref (strlist); + g_string_free (query, TRUE); + /* myth_control_release_context( transfer ); */ return retval; @@ -849,11 +852,13 @@ else gmyth_debug( "Timeout cannot be changed!" ); - myth_control_release_context( transfer ); + myth_control_release_context( transfer ); gmyth_debug ( "%s setting timeout flag of this file transfer = %s\n", strlist_len > 0 ? "Yes," : "NOT", fast ? "FAST" : "NOT FAST" ); + g_object_unref (strlist); + return TRUE; } diff -r 0b3aa34f340a -r be6bb250b01a gmyth/src/gmyth_stringlist.c --- a/gmyth/src/gmyth_stringlist.c Thu Mar 22 15:11:35 2007 +0000 +++ b/gmyth/src/gmyth_stringlist.c Thu Mar 22 15:19:38 2007 +0000 @@ -64,9 +64,7 @@ { GMythStringList *gmyth_string_list = GMYTH_STRING_LIST(object); - //if (gmyth_string_list) - // gmyth_string_list_clear_all(gmyth_string_list); - + gmyth_string_list_clear_all(gmyth_string_list); G_OBJECT_CLASS (gmyth_string_list_parent_class)->dispose (object); }