diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-09-19 11:51:21 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-09-19 11:51:21 +0100 |
| commit | bbc9739f5c1f6fa4dc8ad36aed7bcb1cba2eadea (patch) | |
| tree | d3bcef46328c0ca69adee65ee7d2ef758638d71a /src/parser.cpp | |
| parent | 828095afd1351b218cae6b60033200a92894921c (diff) | |
Core library and Better name mangling for files
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index ed967ad97..94f684af9 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -2752,7 +2752,6 @@ String get_fullpath_relative(gbAllocator a, String base_dir, String path) { gb_memcopy(str, base_dir.text, base_dir.len); gb_memcopy(str+base_dir.len, path.text, path.len); str[str_len] = '\0'; - // HACK(bill): memory leak char *path_str = gb_path_get_full_name(a, cast(char *)str); return make_string(path_str); } @@ -2779,7 +2778,6 @@ String get_fullpath_core(gbAllocator a, String path) { gb_memcopy(str+buf_len, core, core_len); gb_memcopy(str+buf_len+core_len, path.text, path.len); str[str_len] = '\0'; - // HACK(bill): memory leak char *path_str = gb_path_get_full_name(a, cast(char *)str); return make_string(path_str);} |