fix the fix
authorMichael Wallner <mike@php.net>
Mon, 9 Feb 2015 09:36:25 +0000 (10:36 +0100)
committerMichael Wallner <mike@php.net>
Mon, 9 Feb 2015 09:36:25 +0000 (10:36 +0100)
php_raphf.c

index a62897da8b6ee7ed7beb4d856903df90a2ff2f07..4ce908ec0a3c92d921e600c9e84be52996e6d46d 100644 (file)
@@ -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 {
                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);
                }
                if (id != ident) {
                        zend_string_release(id);
                }