summaryrefslogtreecommitdiff
path: root/core/upb_stream_vtbl.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2011-01-22 01:03:02 -0800
committerJoshua Haberman <joshua@reverberate.org>2011-01-22 01:03:02 -0800
commitc9df91b04a429f9324afeefece28f21e7078e3ac (patch)
tree28f038af1ed47b0da2b49c78d8def02486da99fa /core/upb_stream_vtbl.h
parenta695b92ccea4b82180ae45d21d7ed4445f7d0769 (diff)
upb bootstraps again! and with no memory leaks!
Diffstat (limited to 'core/upb_stream_vtbl.h')
-rw-r--r--core/upb_stream_vtbl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/upb_stream_vtbl.h b/core/upb_stream_vtbl.h
index e462122..fd71b2d 100644
--- a/core/upb_stream_vtbl.h
+++ b/core/upb_stream_vtbl.h
@@ -275,6 +275,7 @@ INLINE upb_flow_t upb_dispatch_endsubmsg(upb_dispatcher *d) {
ret = d->top->handlers.set->endmsg(d->top->handlers.closure);
if (ret != UPB_CONTINUE) return ret;
--d->top;
+ assert(d->top >= d->stack);
}
return d->top->handlers.set->endsubmsg(d->top->handlers.closure);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback