mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Fixed a memory leak and a crash when notifylist_check_join() was called with NULL realname.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2185 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
aa3513eaaf
commit
84abc35a81
2 changed files with 4 additions and 3 deletions
|
|
@ -176,7 +176,7 @@ static void whois_send(IRC_SERVER_REC *server, const char *nicks,
|
|||
for (p = str+strlen(nicks)+1; *p != '\0'; p++)
|
||||
if (*p == ',') *p = ' ';
|
||||
|
||||
server_redirect_event(server, "whois", 1, str, FALSE,
|
||||
server_redirect_event(server, "whois", 1, str, TRUE,
|
||||
"notifylist event whois end",
|
||||
"event 318", "notifylist event whois end",
|
||||
"event 311", "notifylist event whois",
|
||||
|
|
@ -285,7 +285,6 @@ static void ison_check_parts(IRC_SERVER_REC *server)
|
|||
continue;
|
||||
|
||||
notifylist_left(server, rec);
|
||||
notify_nick_destroy(rec);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue