1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-11-26 20:04:44 +01:00

fix leak in DBG+ZTS

This commit is contained in:
Michael Wallner 2015-08-19 18:54:52 +02:00
parent aa4ab7e163
commit e381164032

View File

@ -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;
}
}