mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
return false if not path is not populated
This commit is contained in:
@@ -503,7 +503,7 @@ MagickExport MagickBooleanType GetPathTemplate(char *path)
|
||||
directory=ConstantString(P_tmpdir);
|
||||
#endif
|
||||
if (directory == (char *) NULL)
|
||||
return(MagickTrue);
|
||||
return(MagickFalse);
|
||||
value=GetPolicyValue("resource:temporary-path");
|
||||
if (value != (char *) NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user