comparison mcabber/mcabber/help.c @ 1912:ee8657ff9aa8

Fix two fd leaks
author franky
date Fri, 14 May 2010 11:58:13 +0200
parents 84bb3e893586
children 33483d3324cf
comparison
equal deleted inserted replaced
1911:baa52ea32b47 1912:ee8657ff9aa8
193 scr_LogPrint(LPRINT_NORMAL, "%s", line->str); 193 scr_LogPrint(LPRINT_NORMAL, "%s", line->str);
194 194
195 ++lines; 195 ++lines;
196 } 196 }
197 197
198 g_io_channel_unref(channel);
199
198 g_string_free(line, TRUE); 200 g_string_free(line, TRUE);
199 201
200 if (!lines) 202 if (!lines)
201 return FALSE; 203 return FALSE;
202 204