final fix for map_size

This commit is contained in:
van Hauser
2020-04-17 11:24:40 +02:00
parent 2d4d16755c
commit 6bd49b1d5c
2 changed files with 5 additions and 1 deletions

View File

@ -404,9 +404,13 @@ u8 *find_binary(u8 *fname) {
env_path = delim;
if (cur_elem[0]) {
target_path = alloc_printf("%s/%s", cur_elem, fname);
} else {
target_path = ck_strdup(fname);
}
ck_free(cur_elem);