summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.c b/main.c
index bace6b8..dc733a9 100644
--- a/main.c
+++ b/main.c
@@ -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
}
{