diff options
author | Stanislav Malyshev <stas@php.net> | 2017-01-02 22:08:25 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2017-01-02 22:08:25 -0800 |
commit | 68ac602b283f54d81bc846692c5d52767d5f7378 (patch) | |
tree | fa091ef8b4a5d232cc25d916461c3f4f12a6f0f4 /ext/standard/var_unserializer.c | |
parent | ea6e54aff376926fb9ef83411f732b9477cf9b11 (diff) | |
download | php-git-68ac602b283f54d81bc846692c5d52767d5f7378.tar.gz |
Use correct string release function
Diffstat (limited to 'ext/standard/var_unserializer.c')
-rw-r--r-- | ext/standard/var_unserializer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/var_unserializer.c b/ext/standard/var_unserializer.c index 6f6f0e75d9..3279665cd7 100644 --- a/ext/standard/var_unserializer.c +++ b/ext/standard/var_unserializer.c @@ -838,7 +838,7 @@ yy20: elements = object_common1(UNSERIALIZE_PASSTHRU, ce); if (elements < 0) { - efree(class_name); + zend_string_release(class_name); return 0; } |