Skip to content

Commit

Permalink
Fix incorrect return type
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed Jun 17, 2024
1 parent b569fca commit 939052c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/opcache/ZendAccelerator.c
Original file line number Diff line number Diff line change
Expand Up @@ -2692,7 +2692,7 @@ static zend_ffi_dcl* accel_ffi_cache_type_add(zend_string *str, zend_ffi_dcl *dc

if (!ZEND_FFI_TYPE_IS_OWNED(dcl->type)
&& (dcl->type->attr & ZEND_FFI_ATTR_PERSISTENT)) {
return SUCCESS;
return NULL;
}

SHM_UNPROTECT();
Expand Down

0 comments on commit 939052c

Please sign in to comment.