1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 05:51:02 +02:00

Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed possible memory leak
This commit is contained in:
Dmitry Stogov
2016-02-15 16:40:21 +03:00

View File

@@ -962,6 +962,7 @@ char *accel_make_persistent_key(const char *path, int path_length, int *key_len)
zend_shared_alloc_lock();
str = accel_new_interned_string(zend_string_copy(cwd_str));
if (str == cwd_str) {
zend_string_release(str);
str = NULL;
}
zend_shared_alloc_unlock();