Skip to content

Commit 1abea33

Browse files
committed
Fix usage of RETURN_THROWS() in LDAP extension
1 parent aadd3aa commit 1abea33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/ldap/ldap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ static void _php_ldap_controls_to_array(LDAP *ld, LDAPControl** ctrls, zval* arr
622622

623623
array = zend_try_array_init(array);
624624
if (!array) {
625-
RETURN_THROWS();
625+
return;
626626
}
627627

628628
if (ctrls == NULL) {

0 commit comments

Comments
 (0)