summaryrefslogtreecommitdiff
path: root/src/core/nicklist.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-14 14:14:54 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-14 14:14:54 +0000
commit53d5c92cf494866296ae8082804dddcdef656797 (patch)
treefb11d63803059b1069983566a5d8155bfc16af96 /src/core/nicklist.c
parent2752599e7a806f028a5ba572a8678d1801b93fbb (diff)
downloadirssi-53d5c92cf494866296ae8082804dddcdef656797.zip
Fixed some memory leaks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1837 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/nicklist.c')
-rw-r--r--src/core/nicklist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/nicklist.c b/src/core/nicklist.c
index f9539ff3..24ad0d1a 100644
--- a/src/core/nicklist.c
+++ b/src/core/nicklist.c
@@ -102,6 +102,7 @@ static void nicklist_destroy(CHANNEL_REC *channel, NICK_REC *nick)
{
signal_emit("nicklist remove", 2, channel, nick);
+ MODULE_DATA_DEINIT(nick);
g_free(nick->nick);
g_free_not_null(nick->realname);
g_free_not_null(nick->host);