summaryrefslogtreecommitdiff
path: root/src/core/chatnets.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-01-28 15:20:57 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-01-28 15:20:57 +0000
commit747d0f19ca54053601a61f00f331a174daa3afb9 (patch)
treec1fef5a3e7b391ca8c697475790b35ab1ee6db51 /src/core/chatnets.c
parent08c23ce6d4c21f7cee9be2248d0fec15c153a23a (diff)
downloadirssi-747d0f19ca54053601a61f00f331a174daa3afb9.zip
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
Diffstat (limited to 'src/core/chatnets.c')
-rw-r--r--src/core/chatnets.c2
1 files changed, 0 insertions, 2 deletions
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);