Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions imagick_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -12422,11 +12422,6 @@ PHP_METHOD(Imagick, colorMatrixImage)
status = MagickColorMatrixImage(intern->magick_wand, kernel_color_matrix);

//Free the memory
#if MagickLibVersion >= 0x700
kernel_color_matrix->values = (MagickRealType *) NULL;
#else
kernel_color_matrix->values = (double *) NULL;
#endif
kernel_color_matrix = DestroyKernelInfo(kernel_color_matrix);
efree(colors);

Expand Down