diff options
author | Josh Haberman <jhaberman@gmail.com> | 2016-08-29 15:28:59 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2016-08-29 15:28:59 -0700 |
commit | 3a674ffe05164b858d88aae4e241e2c44b7ff1a7 (patch) | |
tree | d7af2c8a83c34773b7d99cecd8e7ae07a4d97623 /ruby | |
parent | d4213d839f5dc29987f7aaaec595f435ea56db6a (diff) | |
download | protobuf-3a674ffe05164b858d88aae4e241e2c44b7ff1a7.tar.gz protobuf-3a674ffe05164b858d88aae4e241e2c44b7ff1a7.tar.bz2 protobuf-3a674ffe05164b858d88aae4e241e2c44b7ff1a7.zip |
upb bugfix: JSON map entry keys were passing the wrong closure.
Diffstat (limited to 'ruby')
-rw-r--r-- | ruby/ext/google/protobuf_c/upb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/ext/google/protobuf_c/upb.c b/ruby/ext/google/protobuf_c/upb.c index 976a3934..544ebc04 100644 --- a/ruby/ext/google/protobuf_c/upb.c +++ b/ruby/ext/google/protobuf_c/upb.c @@ -11175,7 +11175,7 @@ static bool parse_mapentry_key(upb_json_parser *p) { sel = getsel_for_handlertype(p, UPB_HANDLER_STRING); upb_sink_putstring(&subsink, sel, buf, len, NULL); sel = getsel_for_handlertype(p, UPB_HANDLER_ENDSTR); - upb_sink_endstr(&subsink, sel); + upb_sink_endstr(&p->top->sink, sel); multipart_end(p); break; } |