unregister INI entries and fix invalid read on shutdown (#8042)

pull/8092/head
Antony Dovgal 4 years ago committed by GitHub
parent 471317f03a
commit 51b620ac96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      php/ext/google/protobuf/protobuf.c

@ -297,6 +297,7 @@ static PHP_MINIT_FUNCTION(protobuf) {
}
static PHP_MSHUTDOWN_FUNCTION(protobuf) {
UNREGISTER_INI_ENTRIES();
return SUCCESS;
}

Loading…
Cancel
Save