fix: project files free

This commit is contained in:
2026-05-16 15:52:39 +02:00
parent 7e8eb187d8
commit b9fd36debd
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ void file_write(const char *path, const StringArray *lines) {
}
void file_free(File *file) {
if (!file->error) {
if (!file->error && file->content != NULL) {
free(file->content);
}
}