Fix double free

This commit is contained in:
Palanix 2024-04-06 20:56:36 +02:00
parent 4e6e450bf3
commit 859e33c6f9
No known key found for this signature in database
GPG key ID: 439CD6BD9905FAC5

1
ccc.c
View file

@ -858,7 +858,6 @@ void edit_file()
system(command); system(command);
reset_prog_mode(); /* return to previous tty mode */ reset_prog_mode(); /* return to previous tty mode */
refresh(); /* store the screen contents */ refresh(); /* store the screen contents */
free(filename);
} }
} }