Skip to content

Commit ecd168d

Browse files
author
Cristy
committed
return false if not path is not populated
1 parent 39a7dd9 commit ecd168d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

magick/resource.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ MagickExport MagickBooleanType GetPathTemplate(char *path)
558558
directory=ConstantString(P_tmpdir);
559559
#endif
560560
if (directory == (char *) NULL)
561-
return(MagickTrue);
561+
return(MagickFalse);
562562
value=GetPolicyValue("resource:temporary-path");
563563
if (value != (char *) NULL)
564564
{

0 commit comments

Comments
 (0)