mirror of
https://github.com/danog/ext-pq.git
synced 2024-11-30 04:19:49 +01:00
fix leak in DBG+ZTS
This commit is contained in:
parent
aa4ab7e163
commit
e381164032
@ -114,6 +114,9 @@ static int php_pqtypes_object_has_dimension(zval *object, zval *member, int chec
|
||||
return Z_TYPE_P(data) != IS_NULL;
|
||||
}
|
||||
} else {
|
||||
if (key) {
|
||||
zend_string_release(key);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user