Skip to content

Commit

Permalink
Fix test for zts
Browse files Browse the repository at this point in the history
  • Loading branch information
TeBoring committed Oct 10, 2019
1 parent b54d22e commit d8b1fac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions php/ext/google/protobuf/encode_decode.c
Expand Up @@ -245,6 +245,7 @@ static void *startseq_handler(void* closure, const void* hd) {
MessageHeader* msg = closure;
const upb_fielddef** field = hd;
CACHED_VALUE* cache = find_cache(msg, *field);
TSRMLS_FETCH();
repeated_field_insure_created(*field, cache PHP_PROTO_TSRMLS_CC);
return CACHED_PTR_TO_ZVAL_PTR(cache);
}
Expand Down

0 comments on commit d8b1fac

Please sign in to comment.