]> granicus.if.org Git - php/commit
Fix resetting of internal_encoding and friends
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 17 Dec 2019 15:26:42 +0000 (16:26 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 17 Dec 2019 15:27:56 +0000 (16:27 +0100)
commitfcdc0a6db0ae63fbed9e3828137b899b844623ce
tree401e91c49eb198e9ea3ef21beb4a4990ff2a5b3b
parentdd997a40d0be9b03973b1317041f92ad9582237f
Fix resetting of internal_encoding and friends

We need to update the value even if new_value is NULL. In particular,
it should be reset back to NULL after each request if the setting was
not specified on startup. Otherwise we leave dangling pointers.
main/main.c