diff --git a/imagickkernel_class.c b/imagickkernel_class.c index 662f2d84..a6e58888 100644 --- a/imagickkernel_class.c +++ b/imagickkernel_class.c @@ -397,8 +397,6 @@ PHP_METHOD(ImagickKernel, fromMatrix) kernel_info = imagick_createKernel(values, num_columns, num_rows, origin_x, origin_y); createKernelZval(return_value, kernel_info TSRMLS_CC); - return; - cleanup: if (values != NULL) { RelinquishAlignedMemory(values);