[svn r128] Added cleanup methods to the GByteArray buffer.
1.1 --- a/libgnomevfs2-mythtv/modules/mythtv-method.c Tue Nov 28 03:17:22 2006 +0000
1.2 +++ b/libgnomevfs2-mythtv/modules/mythtv-method.c Tue Nov 28 13:44:31 2006 +0000
1.3 @@ -208,6 +208,11 @@
1.4 g_object_unref (myth_handle->file_transfer);
1.5 myth_handle->file_transfer = NULL;
1.6 }
1.7 +
1.8 + if (myth_handle->buffer) {
1.9 + g_byte_array_free (myth_handle->buffer, TRUE);
1.10 + myth_handle->buffer = NULL;
1.11 + }
1.12
1.13 g_free (myth_handle);
1.14