Skip to content

Commit

Permalink
Correct fix for #780.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Sep 25, 2017
1 parent 700fcf9 commit 67a633d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions magick/resample-private.h
Expand Up @@ -60,11 +60,6 @@ static inline ResampleFilter **AcquireResampleFilterThreadSet(
for (i=0; i < (ssize_t) number_threads; i++)
{
filter[i]=AcquireResampleFilter(image,exception);
if (filter[i] == (ResampleFilter *) NULL)
{
filter=DestroyResampleFilterThreadSet(filter);
ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
}
if (method != UndefinedVirtualPixelMethod)
(void) SetResampleFilterVirtualPixelMethod(filter[i],method);
if (interpolate != MagickFalse)
Expand Down

0 comments on commit 67a633d

Please sign in to comment.