1.1 --- a/gmyth/src/gmyth_file_transfer.c Thu Mar 22 15:11:35 2007 +0000
1.2 +++ b/gmyth/src/gmyth_file_transfer.c Thu Mar 22 15:19:38 2007 +0000
1.3 @@ -559,6 +559,9 @@
1.4 gmyth_debug ( "[%s] got reading position pointer from the streaming = %lld\n",
1.5 __FUNCTION__, retval );
1.6
1.7 + g_object_unref (strlist);
1.8 + g_string_free (query, TRUE);
1.9 +
1.10 /* myth_control_release_context( transfer ); */
1.11
1.12 return retval;
1.13 @@ -849,11 +852,13 @@
1.14 else
1.15 gmyth_debug( "Timeout cannot be changed!" );
1.16
1.17 - myth_control_release_context( transfer );
1.18 + myth_control_release_context( transfer );
1.19
1.20 gmyth_debug ( "%s setting timeout flag of this file transfer = %s\n",
1.21 strlist_len > 0 ? "Yes," : "NOT", fast ? "FAST" : "NOT FAST" );
1.22
1.23 + g_object_unref (strlist);
1.24 +
1.25 return TRUE;
1.26 }
1.27
2.1 --- a/gmyth/src/gmyth_stringlist.c Thu Mar 22 15:11:35 2007 +0000
2.2 +++ b/gmyth/src/gmyth_stringlist.c Thu Mar 22 15:19:38 2007 +0000
2.3 @@ -64,9 +64,7 @@
2.4 {
2.5 GMythStringList *gmyth_string_list = GMYTH_STRING_LIST(object);
2.6
2.7 - //if (gmyth_string_list)
2.8 - // gmyth_string_list_clear_all(gmyth_string_list);
2.9 -
2.10 + gmyth_string_list_clear_all(gmyth_string_list);
2.11
2.12 G_OBJECT_CLASS (gmyth_string_list_parent_class)->dispose (object);
2.13 }