X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=php_raphf.c;h=4ce908ec0a3c92d921e600c9e84be52996e6d46d;hb=a9a95e13578c3b57be0e60898e13babd001d2698;hp=a62897da8b6ee7ed7beb4d856903df90a2ff2f07;hpb=be52cdca1c0a550757a1ef6b9f05805cb8252242;p=m6w6%2Fext-raphf diff --git a/php_raphf.c b/php_raphf.c index a62897d..4ce908e 100644 --- a/php_raphf.c +++ b/php_raphf.c @@ -250,9 +250,9 @@ static inline php_persistent_handle_list_t *php_persistent_handle_list_find( if ((GC_FLAGS(ident) & IS_STR_PERSISTENT)) { id = ident; } else { - ident = zend_string_dup(ident, 1); + id = zend_string_dup(ident, 1); } - rv = zend_symtable_update(&provider->list.free, ident, &p); + rv = zend_symtable_update(&provider->list.free, id, &p); if (id != ident) { zend_string_release(id); }