Fix a bug which resulted in orphanization getting confused every now

and then.
This commit is contained in:
Poul-Henning Kamp 2003-04-12 16:36:19 +00:00
parent fc5738c0d3
commit 2b454c0ae5

View File

@ -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"));