mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 06:21:45 +03:00
[project @ 2005-01-13 20:26:16 by bursa]
Strengthen entry conditions of content_broadcast() to help detect bugs. svn path=/import/netsurf/; revision=1446
This commit is contained in:
parent
34614fdad9
commit
2f19e15e33
@ -815,6 +815,7 @@ void content_broadcast(struct content *c, content_msg msg,
|
||||
union content_msg_data data)
|
||||
{
|
||||
struct content_user *user, *next;
|
||||
assert(c);
|
||||
for (user = c->user_list->next; user != 0; user = next) {
|
||||
next = user->next; /* user may be destroyed during callback */
|
||||
if (user->callback != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user