Skip to content

Commit c9f7c33

Browse files
committed
fix a double-free
1 parent c510fbd commit c9f7c33

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Zend/zend_namespaces.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ static zend_class_entry *insert_namespace(const zend_string *name) {
5252
ns->lexical_scope = parent_ns;
5353
zend_hash_add_ptr(EG(namespaces), interned_name, ns);
5454
}
55-
zend_string_release(needle);
5655

5756
parent_ns = ns;
5857
}

0 commit comments

Comments
 (0)