From 258139094f88a58c1b1c33ba61faaf133685e489 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 11 Feb 2017 15:47:52 -0500 Subject: [PATCH] ... --- PerlMagick/Magick.xs | 2 ++ PerlMagick/quantum/quantum.xs.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/PerlMagick/Magick.xs b/PerlMagick/Magick.xs index f4e05cfb9..cc1661358 100644 --- a/PerlMagick/Magick.xs +++ b/PerlMagick/Magick.xs @@ -14392,6 +14392,8 @@ Statistics(ref,...) EXTEND(sp,8*(i+1)*count); ChannelStatistics(channel); } + EXTEND(sp,8*(i+1)*count); + ChannelStatistics(CompositePixelChannel); channel_statistics=(ChannelStatistics *) RelinquishMagickMemory(channel_statistics); } diff --git a/PerlMagick/quantum/quantum.xs.in b/PerlMagick/quantum/quantum.xs.in index ba43bbc1d..b9c709601 100644 --- a/PerlMagick/quantum/quantum.xs.in +++ b/PerlMagick/quantum/quantum.xs.in @@ -14392,6 +14392,8 @@ Statistics(ref,...) EXTEND(sp,8*(i+1)*count); ChannelStatistics(channel); } + EXTEND(sp,8*(i+1)*count); + ChannelStatistics(CompositePixelChannel); channel_statistics=(ChannelStatistics *) RelinquishMagickMemory(channel_statistics); } -- 2.40.0