We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00d09d7 commit a710f26Copy full SHA for a710f26
1 file changed
brotli.c
@@ -446,6 +446,7 @@ static zend_string *php_brotli_output_handler_load_dict(php_brotli_context *ctx)
446
"request(%s) != actual(%s)",
447
Z_STRVAL_P(available), ZSTR_VAL(b64));
448
BROTLI_G(compression_coding) &= ~PHP_BROTLI_ENCODING_DCB;
449
+ zend_string_release(dict);
450
dict = NULL;
451
}
452
zend_string_free(b64);
@@ -454,6 +455,7 @@ static zend_string *php_brotli_output_handler_load_dict(php_brotli_context *ctx)
454
455
php_error_docref(NULL, E_WARNING,
456
"brotli: not found available-dictionary");
457
458
459
460
461
0 commit comments