monitor: don't use already-freed pointer, unlike the moronic atheme developers
This commit is contained in:
parent
5f8fb56d02
commit
7a40c9a5b4
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ clear_monitor(struct Client *client_p)
|
|||
rb_dlinkFindDestroy(client_p, &monptr->users);
|
||||
rb_free_rb_dlink_node(ptr);
|
||||
|
||||
free_monitor(ptr->data);
|
||||
free_monitor(monptr);
|
||||
}
|
||||
|
||||
client_p->localClient->monitor_list.head = client_p->localClient->monitor_list.tail = NULL;
|
||||
|
|
Loading…
Reference in a new issue