commit | 73bd4a51b419e914565bdf204bf1540dc4c8ee26 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Tue Oct 05 11:24:23 2010 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Tue Oct 05 11:24:23 2010 +0000 |
tree | fcd17e38de5af2309622de4b03cba54f9d81f91c | |
parent | a10178197104e64f7a6a4ae4fca497222755a424 [diff] [blame] |
diff --git a/magick/threshold.c b/magick/threshold.c index b581498..f73f6b8 100644 --- a/magick/threshold.c +++ b/magick/threshold.c
@@ -933,7 +933,7 @@ } /* The map has been found -- Allocate a Threshold Map to return */ - map = (ThresholdMap *)AcquireQuantumMemory(1,sizeof(ThresholdMap)); + map = (ThresholdMap *)AcquireMagickMemory(sizeof(ThresholdMap)); if ( map == (ThresholdMap *)NULL ) ThrowFatalException(ResourceLimitFatalError,"UnableToAcquireThresholdMap"); map->map_id = (char *)NULL;