]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 27 Nov 2012 18:41:45 +0000 (18:41 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 27 Nov 2012 18:41:45 +0000 (18:41 +0000)
MagickCore/fourier.c

index 5aec4f8958d3b473773d56883228d7993ab307e3..f445510211cb07b1801be01c36a3a161d3d47256 100644 (file)
@@ -271,6 +271,8 @@ static MagickBooleanType ForwardFourier(const FourierInfo *fourier_info,
       magnitude_source=(double *) RelinquishMagickMemory(magnitude_source);
       return(MagickFalse);
     }
+  (void) ResetMagickMemory(phase_source,0,fourier_info->height*
+    fourier_info->width*sizeof(*phase_source));
   status=ForwardQuadrantSwap(fourier_info->height,fourier_info->height,
     magnitude,magnitude_source);
   if (status != MagickFalse)