From 747d0f19ca54053601a61f00f331a174daa3afb9 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 28 Jan 2002 15:20:57 +0000 Subject: Fixed a few minor memleaks. Don't use g_strdup() in lib-popt because it may be freed with a real free() call instead of g_free(). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2352 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/chatnets.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/core') diff --git a/src/core/chatnets.c b/src/core/chatnets.c index 705dd2e7..62c31c98 100644 --- a/src/core/chatnets.c +++ b/src/core/chatnets.c @@ -193,8 +193,6 @@ void chatnets_init(void) void chatnets_deinit(void) { - while (chatnets != NULL) - chatnet_destroy(chatnets->data); module_uniq_destroy("CHATNET"); signal_remove("event connected", (SIGNAL_FUNC) sig_connected); -- cgit v1.2.3