[Commits] [SCM] claws branch, master, updated. 3.13.2-23-g2d1d24e

ticho at claws-mail.org ticho at claws-mail.org
Mon Feb 8 19:20:53 CET 2016


The branch, master has been updated
       via  2d1d24e2dce8a0a3704ff28e5d2cc878316d0d84 (commit)
       via  af58003b773ee4ef33d43b97c266993118c7a784 (commit)
      from  cd7f85f7eb6db97e86a8830e28116d26223d4e26 (commit)

Summary of changes:
 src/addressbook-dbus.c |    2 +-
 src/prefs_actions.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 2d1d24e2dce8a0a3704ff28e5d2cc878316d0d84
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Mon Feb 8 19:19:07 2016 +0100

    Fix a teensy weensy memory leak in Action configuration dialog.

diff --git a/src/prefs_actions.c b/src/prefs_actions.c
index d18df3a..af8183e 100644
--- a/src/prefs_actions.c
+++ b/src/prefs_actions.c
@@ -1318,7 +1318,7 @@ static void prefs_action_filterbtn_cb(GtkWidget *widget, gpointer data)
                         filteringaction_free(cur->data);
         }
         
-	g_free(action_str);
+	g_slist_free(action_str);
 	g_strfreev(tokens);
 }
 

commit af58003b773ee4ef33d43b97c266993118c7a784
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Mon Feb 8 19:18:35 2016 +0100

    Fix a possible use-after-free for ContactData pointers in new addressbook.

diff --git a/src/addressbook-dbus.c b/src/addressbook-dbus.c
index 1d79b6a..eb71e7b 100644
--- a/src/addressbook-dbus.c
+++ b/src/addressbook-dbus.c
@@ -399,7 +399,7 @@ void contact_data_free(ContactData** data) {
 	g_free(contact->name);
 	g_free(contact->book);
 	g_free(contact);
-	contact = NULL;
+	*data = NULL;
 }
 
 void addressbook_harvest(FolderItem *folderItem,

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list