From: Cristy Date: Sat, 11 Feb 2017 20:47:52 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.4-8~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=258139094f88a58c1b1c33ba61faaf133685e489;p=imagemagick ... --- 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); }