Skip to content

Commit 3e43ed6

Browse files
committed
Fix incorrect return type
1 parent 385fb58 commit 3e43ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2695,7 +2695,7 @@ static zend_ffi_dcl* accel_ffi_cache_type_add(zend_string *str, zend_ffi_dcl *dc
26952695

26962696
if (!ZEND_FFI_TYPE_IS_OWNED(dcl->type)
26972697
&& (dcl->type->attr & ZEND_FFI_ATTR_PERSISTENT)) {
2698-
return SUCCESS;
2698+
return NULL;
26992699
}
27002700

27012701
SHM_UNPROTECT();

0 commit comments

Comments
 (0)