From: Cristy Date: Sat, 30 Sep 2017 14:06:12 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/800 X-Git-Tag: 7.0.7-5~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee6ef1ac06cb04240545fd51a05b5693b72d2379;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/800 --- diff --git a/MagickCore/segment.c b/MagickCore/segment.c index 83b0c5639..2287d18b5 100644 --- a/MagickCore/segment.c +++ b/MagickCore/segment.c @@ -1411,7 +1411,7 @@ static IntervalTree *InitializeIntervalTree(const ZeroCrossing *zero_crossing, } if (left != head->left) { - node->sibling=(IntervalTree *) AcquireMagickMemory( + node->sibling=(IntervalTree *) AcquireCriticalMemory( sizeof(*node->sibling)); node=node->sibling; node->tau=zero_crossing[i+1].tau;