1
0
Fork 0

Use g_io_channel_unref rather than g_io_channel_close for file

channels.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4789 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-03-30 13:30:52 +00:00 committed by exg
parent 1ffed412c6
commit 26a1d639e7
3 changed files with 3 additions and 3 deletions

View File

@ -419,7 +419,7 @@ static void autorun_startup(void)
}
g_string_free(buf, TRUE);
g_io_channel_close(handle);
g_io_channel_unref(handle);
}
void fe_common_core_finish_init(void)

View File

@ -146,7 +146,7 @@ static void cmd_cat(const char *data)
}
g_string_free(buf, TRUE);
g_io_channel_close(handle);
g_io_channel_unref(handle);
}
/* SYNTAX: BEEP */

View File

@ -151,7 +151,7 @@ static int show_help_file(const char *file)
}
g_string_free(buf, TRUE);
g_io_channel_close(handle);
g_io_channel_unref(handle);
return TRUE;
}