directory,DirectorySeparator);
if (IsPathAccessible(buffer) != MagickFalse)
{
+ directory=DestroyString(directory);
(void) CopyMagickString(value,buffer,length);
if (is_64_bit != NULL)
*is_64_bit=FALSE;
directory,DirectorySeparator);
if (IsPathAccessible(buffer) != MagickFalse)
{
+ directory=DestroyString(directory);
(void) CopyMagickString(value,buffer,length);
if (is_64_bit != NULL)
*is_64_bit=TRUE;
/*
Don't shred the file, just remove it.
*/
+ passes=DestroyString(passes);
status=remove_utf8(path);
if (status == -1)
{
/*
Don't shred the file, just remove it.
*/
+ passes=DestroyString(passes);
status=remove_utf8(path);
if (status == -1)
(void) LogMagickEvent(ExceptionEvent,GetMagickModule(),
}
status=close(file);
status=remove_utf8(path);
- if (status == -1)
- return(MagickFalse);
- return(i < (ssize_t) StringToInteger(passes) ? MagickFalse : MagickTrue);
+ if (status != -1)
+ status=StringToInteger(passes);
+ passes=DestroyString(passes);
+ return((status == -1 || i < (ssize_t) status) ? MagickFalse : MagickTrue);
}