fix crash when you have 2 #load_directory calls with the same path

This commit is contained in:
Laytan Laats
2024-06-04 19:01:50 +02:00
parent 5628cfabe5
commit 4f5b2bd127
+2
View File
@@ -1345,6 +1345,8 @@ gb_internal LoadDirectiveResult check_load_directory_directive(CheckerContext *c
map_set(&c->info->load_directory_map, call, new_cache);
} else {
cache->file_error = file_error;
map_set(&c->info->load_directory_map, call, cache);
}
});