From 9076cc80446be82d8503ad635cac3c286edb4a64 Mon Sep 17 00:00:00 2001 From: Mikhail Galanin Date: Thu, 16 Mar 2023 16:31:00 +0000 Subject: [PATCH] Clean memory in ImagickKernel::separate() as well --- imagickkernel_class.c | 1 + 1 file changed, 1 insertion(+) diff --git a/imagickkernel_class.c b/imagickkernel_class.c index a6e58888..bb088054 100644 --- a/imagickkernel_class.c +++ b/imagickkernel_class.c @@ -762,6 +762,7 @@ PHP_METHOD(ImagickKernel, separate) kernel_info->x, kernel_info->y ); + RelinquishAlignedMemory(values_copy); #if PHP_VERSION_ID >= 70000 createKernelZval(&separate_object, kernel_info_copy TSRMLS_CC);