save_options(): minor code simplification.
authorLaurent Monin <geeqie@norz.org>
Thu, 1 May 2008 22:30:16 +0000 (22:30 +0000)
committerLaurent Monin <geeqie@norz.org>
Thu, 1 May 2008 22:30:16 +0000 (22:30 +0000)
src/rcfile.c

index dc61492..4d382e9 100644 (file)
@@ -536,12 +536,8 @@ void save_options(void)
 
 
        if (secure_close(ssi))
-               {
                printf_term(_("error saving config file: %s\nerror: %s\n"), rc_path,
                            secsave_strerror(secsave_errno));
-               g_free(rc_path);
-               return;
-               }
 
        g_free(rc_path);
 }