[Commits] [SCM] claws branch, master, updated. 3.11.0-10-g1660e56

ticho at claws-mail.org ticho at claws-mail.org
Thu Oct 23 18:39:23 CEST 2014


The branch, master has been updated
       via  1660e564def8ee4d17dad0c7af1f449045fc1eae (commit)
      from  8987e5620e0689676355715d8a6e990aec5277fc (commit)

Summary of changes:
 src/plugins/rssyl/rssyl.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 1660e564def8ee4d17dad0c7af1f449045fc1eae
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Thu Oct 23 18:38:56 2014 +0200

    RSSyl: Fix memory leak caused by last commit.

diff --git a/src/plugins/rssyl/rssyl.c b/src/plugins/rssyl/rssyl.c
index 5753a00..120037c 100644
--- a/src/plugins/rssyl/rssyl.c
+++ b/src/plugins/rssyl/rssyl.c
@@ -664,9 +664,12 @@ static gboolean rssyl_is_msg_changed(Folder *folder, FolderItem *item,
 		msginfo->size != s.st_size || (
 				(msginfo->mtime - s.st_mtime != 0) &&
 				(msginfo->mtime - s.st_mtime != 3600) &&
-				(msginfo->mtime - s.st_mtime != -3600)))
+				(msginfo->mtime - s.st_mtime != -3600))) {
+		g_free(path);
 		return TRUE;
+	}
 
+	g_free(path);
 	return FALSE;
 }
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list