Commit 8060d661 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

miscellaneous minor fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3998 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 2 deletions
+4 -2
......@@ -1901,8 +1901,10 @@ int do_writeout(bool exiting)
full_filename != NULL && strcmp(full_answer,
full_filename) != 0);
free(full_filename);
free(full_answer);
if (full_filename != NULL)
free(full_filename);
if (full_answer != NULL)
free(full_answer);
if (different_name) {
if (name_exists) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment