return false if not path is not populated

This commit is contained in:
Cristy
2025-06-29 21:26:48 -04:00
parent 6e558364eb
commit 81ea8144bc
+1 -1
View File
@@ -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)
{