[Commits] [SCM] claws branch, master, updated. 3.15.0-82-gb15dae8

ticho at claws-mail.org ticho at claws-mail.org
Sun Jul 9 23:55:48 CEST 2017


The branch, master has been updated
       via  b15dae8534b483eb497df86b6f5d2295fca497e1 (commit)
      from  5d78499d1dd99680047cc12f09980f50f41a93e5 (commit)

Summary of changes:
 src/main.c |    1 +
 1 file changed, 1 insertion(+)


- Log -----------------------------------------------------------------
commit b15dae8534b483eb497df86b6f5d2295fca497e1
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sun Jul 9 23:55:29 2017 +0200

    Fix a memory leak in libSM use.

diff --git a/src/main.c b/src/main.c
index 331f7e0..a35b94a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -652,6 +652,7 @@ static void sc_session_manager_connect(MainWindow *mainwin)
 			vals[0].value = g_strdup(g_get_user_name()?g_get_user_name():"");
 			sc_client_set_value (mainwin, SmUserID, SmARRAY8, 1, vals);
 
+			g_free(vals[0].value);
 			g_free(vals);
 		}
 	}

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list