summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-01-04 17:13:29 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-01-04 17:13:29 +0000
commit60df6d7be8c54d0336e5d116e44b450d0f412fc6 (patch)
tree388bbd0f2b23f81b69bb96e3521ce98b16b9fb52 /src
parent60f91dcb5c5e1c945f82739d3cfb64912b92a3e3 (diff)
downloadirssi-60df6d7be8c54d0336e5d116e44b450d0f412fc6.zip
fixed minor memory leak
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1060 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/core/chat-completion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c
index 5989d90b..26757e14 100644
--- a/src/fe-common/core/chat-completion.c
+++ b/src/fe-common/core/chat-completion.c
@@ -154,6 +154,7 @@ static void sig_message_own_public(SERVER_REC *server, const char *msg,
msgnick[strlen(msgnick)-1] = '\0';
nick = nicklist_find(channel, msgnick);
}
+ g_free(msgnick);
if (nick != NULL && nick != channel->ownnick)
CHANNEL_LAST_MSG_ADD(channel, nick->nick, TRUE);
}