fix crash when you have 2 #load_directory calls with the same path
This commit is contained in:
1 parent
5628cfabe5
commit
4f5b2bd127
1 file changed
+2
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user