mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
Added MODULE_DATA_UNSET() macro and started using it. Just to make sure we
don't try to access free'd data. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1818 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
56331f78e0
commit
c988af4150
4 changed files with 7 additions and 0 deletions
|
|
@ -218,6 +218,7 @@ static void notifylist_deinit_server(IRC_SERVER_REC *server)
|
|||
notify_nick_destroy(rec);
|
||||
}
|
||||
g_free(mserver);
|
||||
MODULE_DATA_UNSET(server);
|
||||
}
|
||||
|
||||
void notifylist_left(IRC_SERVER_REC *server, NOTIFY_NICK_REC *rec)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue