Skip to content

Commit

Permalink
unregister INI entries and fix invalid read on shutdown (#8042)
Browse files Browse the repository at this point in the history
  • Loading branch information
tony2001 committed Nov 25, 2020
1 parent 471317f commit 51b620a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions php/ext/google/protobuf/protobuf.c
Expand Up @@ -297,6 +297,7 @@ static PHP_MINIT_FUNCTION(protobuf) {
}

static PHP_MSHUTDOWN_FUNCTION(protobuf) {
UNREGISTER_INI_ENTRIES();
return SUCCESS;
}

Expand Down

0 comments on commit 51b620a

Please sign in to comment.