diff --git a/shared_alloc_posix.c b/shared_alloc_posix.c index 418280a45ac..46f0257bb3a 100644 --- a/shared_alloc_posix.c +++ b/shared_alloc_posix.c @@ -45,7 +45,7 @@ static int create_segments(size_t requested_size, zend_shared_segment_posix ***s *shared_segments_p = (zend_shared_segment_posix **) calloc(1, sizeof(zend_shared_segment_posix) + sizeof(void *)); if (!*shared_segments_p) { *error_in = "calloc"; - rerurn ALLOC_FAILURE; + return ALLOC_FAILURE; } shared_segment = (zend_shared_segment_posix *)((char *)(*shared_segments_p) + sizeof(void *)); (*shared_segments_p)[0] = shared_segment;