mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
fix crash when you have 2 #load_directory calls with the same path
This commit is contained in:
@@ -1345,6 +1345,8 @@ gb_internal LoadDirectiveResult check_load_directory_directive(CheckerContext *c
|
|||||||
map_set(&c->info->load_directory_map, call, new_cache);
|
map_set(&c->info->load_directory_map, call, new_cache);
|
||||||
} else {
|
} else {
|
||||||
cache->file_error = file_error;
|
cache->file_error = file_error;
|
||||||
|
|
||||||
|
map_set(&c->info->load_directory_map, call, cache);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user