mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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:
parent
1ffed412c6
commit
26a1d639e7
@ -419,7 +419,7 @@ static void autorun_startup(void)
|
|||||||
}
|
}
|
||||||
g_string_free(buf, TRUE);
|
g_string_free(buf, TRUE);
|
||||||
|
|
||||||
g_io_channel_close(handle);
|
g_io_channel_unref(handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
void fe_common_core_finish_init(void)
|
void fe_common_core_finish_init(void)
|
||||||
|
@ -146,7 +146,7 @@ static void cmd_cat(const char *data)
|
|||||||
}
|
}
|
||||||
g_string_free(buf, TRUE);
|
g_string_free(buf, TRUE);
|
||||||
|
|
||||||
g_io_channel_close(handle);
|
g_io_channel_unref(handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SYNTAX: BEEP */
|
/* SYNTAX: BEEP */
|
||||||
|
@ -151,7 +151,7 @@ static int show_help_file(const char *file)
|
|||||||
}
|
}
|
||||||
g_string_free(buf, TRUE);
|
g_string_free(buf, TRUE);
|
||||||
|
|
||||||
g_io_channel_close(handle);
|
g_io_channel_unref(handle);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user