* editmenu.c (edit_wrap_cmd): Use g_free() on the result

of input_dialog().
This commit is contained in:
Andrew V. Samoilov 2001-11-27 12:38:30 +00:00
parent df35606f2c
commit d9a88088d1
2 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,11 @@
2001-11-27 Andrew V. Samoilov <kai@cmail.ru>
* editmenu.c (edit_wrap_cmd): Use g_free() on the result
of input_dialog().
2001-11-22 Andrew V. Samoilov <kai@cmail.ru>
* editcmd.c (edit_save_file): Use g_free() on the result of
* editcmd.c (edit_save_file): Use g_free() on the result of
mc_mkstemps().
2001-11-19 Andrew V. Samoilov <kai@cmail.ru>

View File

@ -58,7 +58,7 @@ void edit_wrap_cmd (void)
if (*f) {
option_word_wrap_line_length = atoi (f);
}
free (f);
g_free (f);
}
}