diff options
author | pommicket <pommicket@gmail.com> | 2024-09-08 12:41:26 -0700 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2024-09-08 12:42:41 -0700 |
commit | a6dd449d39b5b5d0e7c2e9d5e4ddbb4505ba0cd7 (patch) | |
tree | e35c7691ae6de9249d93023fc5621c7291ccd1c4 /main.c | |
parent | fd1e2b3d3ccd26fb5bd9d7cbced04f673cfd19ba (diff) |
Fix tiny memory leak on windows
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -15,6 +15,7 @@ FUTURE FEATURES: - restart LSP server automatically? - LSP request timeout - reflow command +- editing files with invalid UTF-8 */ /* @@ -480,7 +481,9 @@ int main(int argc, char **argv) { } if (fs_path_type(ted->local_data_dir) == FS_NON_EXISTENT) fs_mkdir(ted->local_data_dir); - + #if _WIN32 + free(appdata); + #endif } { |