Fix a bug which resulted in orphanization getting confused every now
and then.
This commit is contained in:
parent
fc5738c0d3
commit
2b454c0ae5
@ -289,7 +289,7 @@ g_post_event(enum g_events ev, ...)
|
||||
if (p == NULL)
|
||||
break;
|
||||
g_trace(G_T_TOPOLOGY, " ref %p", p);
|
||||
ep->ref[n++] = p;
|
||||
ep->ref[n] = p;
|
||||
}
|
||||
va_end(ap);
|
||||
KASSERT(p == NULL, ("Too many references to event"));
|
||||
|
Loading…
Reference in New Issue
Block a user