[Commits] [SCM] claws branch, master, updated. 4.2.0-15-g043d1ff5f

paul at claws-mail.org paul at claws-mail.org
Wed Dec 20 12:33:45 UTC 2023


The branch, master has been updated
       via  043d1ff5fa54eee99426d4bfe3c33e8da1e232a0 (commit)
      from  a69d935c8f568def0da1785e17fe797093ff8d95 (commit)

Summary of changes:
 src/main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 043d1ff5fa54eee99426d4bfe3c33e8da1e232a0
Author: Paul <paul at claws-mail.org>
Date:   Wed Dec 20 13:33:20 2023 +0100

    add a missed g_free()

diff --git a/src/main.c b/src/main.c
index bd043d252..fc06df75e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1240,7 +1240,8 @@ int main(int argc, char *argv[])
 	if (copy_file(userrc, userrc, TRUE) < 0) {
 		g_warning("can't copy message %s to %s.bak",
 			  userrc, userrc);
-				return -1;
+		g_free(userrc);		
+		return -1;
 	}
 
 	gtk_accel_map_load (userrc);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list