[scan] Set consistent return type in check_path_in_directories()

This commit is contained in:
ejurgensen 2023-09-27 22:46:13 +02:00
parent 85929dcaa8
commit 4662cd4cce

View File

@ -1791,7 +1791,7 @@ check_path_in_directories(const char *path)
bool ret;
if (strstr(path, "/../"))
return NULL;
return false;
tmp_path = strdup(path);
dir = dirname(tmp_path);