summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-04-05 23:10:06 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-04-05 23:10:06 -0700
commitd0dee34a7f636af5b9ba5490024e24697224af56 (patch)
tree528eaef7cc054d6d5d2ae99b4557c1451b70701a /src
parent066d1e024c27d8171667ed28ff209ec24e031aba (diff)
Update README and fix small decoder issue.
Diffstat (limited to 'src')
-rw-r--r--src/upb_decoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/upb_decoder.c b/src/upb_decoder.c
index 3107f77..9ae3659 100644
--- a/src/upb_decoder.c
+++ b/src/upb_decoder.c
@@ -68,6 +68,7 @@ static bool upb_pullbuf(upb_decoder *d) {
d->ptr = upb_string_getrobuf(d->bufstr);
d->end = d->buf + upb_string_len(d->bufstr);
d->jit_end = d->end - 20;
+ upb_string_recycle(&d->tmp);
upb_string_substr(d->tmp, d->bufstr, 0, 0);
upb_dstate_setmsgend(d);
return true;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback