Skip to content

Commit b8bcba1

Browse files
committed
ext/dba: Use ZEND_HASH_FOREACH_VAL in php_dba_make_key()
1 parent 7366a40 commit b8bcba1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/dba/dba.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static zend_string* php_dba_make_key(const HashTable *key)
118118

119119
if (ZSTR_LEN(group_str) == 0) {
120120
zend_string_release(group_str);
121-
return name_str; // ownership transferred
121+
return name_str;
122122
}
123123

124124
zend_string *key_str = zend_strpprintf(

0 commit comments

Comments
 (0)