[Commits] [SCM] claws branch, master, updated. 3.14.0-72-g42b0938

ticho at claws-mail.org ticho at claws-mail.org
Sat Sep 10 09:29:49 CEST 2016


The branch, master has been updated
       via  42b0938292e0d52289bb79058d4503318a4625ba (commit)
      from  6061cc33f76e265600a72923c1a2368d00f9c1d2 (commit)

Summary of changes:
 src/plugins/rssyl/parse822.c              |    1 -
 src/plugins/rssyl/rssyl_add_item.c        |    1 -
 src/plugins/rssyl/rssyl_deleted.c         |    1 -
 src/plugins/rssyl/rssyl_update_comments.c |    1 -
 4 files changed, 4 deletions(-)


- Log -----------------------------------------------------------------
commit 42b0938292e0d52289bb79058d4503318a4625ba
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sat Sep 10 09:28:04 2016 +0200

    A fix for commit b274c72.
    
    Whatever FeedItem's ->data is pointing to is being
    freed in feed_item_free() already.

diff --git a/src/plugins/rssyl/parse822.c b/src/plugins/rssyl/parse822.c
index c3cd109..2197542 100644
--- a/src/plugins/rssyl/parse822.c
+++ b/src/plugins/rssyl/parse822.c
@@ -237,7 +237,6 @@ static void rssyl_flush_folder_func(gpointer data, gpointer user_data)
 
 	if( ctx != NULL && ctx->path != NULL) {
 		g_free(ctx->path);
-		g_free(ctx);
 	}
 	feed_item_free(item);
 }
diff --git a/src/plugins/rssyl/rssyl_add_item.c b/src/plugins/rssyl/rssyl_add_item.c
index b280609..922ad4e 100644
--- a/src/plugins/rssyl/rssyl_add_item.c
+++ b/src/plugins/rssyl/rssyl_add_item.c
@@ -363,7 +363,6 @@ void rssyl_add_item(RFolderItem *ritem, FeedItem *feed_item)
 		}
 
 		g_free(ctx->path);
-		g_free(ctx);
 		feed_item_free(old_item);
 		old_item = NULL;
 	}
diff --git a/src/plugins/rssyl/rssyl_deleted.c b/src/plugins/rssyl/rssyl_deleted.c
index f584356..ef2a5c1 100644
--- a/src/plugins/rssyl/rssyl_deleted.c
+++ b/src/plugins/rssyl/rssyl_deleted.c
@@ -238,7 +238,6 @@ void rssyl_deleted_add(RFolderItem *ritem, gchar *path)
 
 	RFeedCtx *ctx = (RFeedCtx *)fitem->data;
 	g_free(ctx->path);
-	g_free(ctx);
 	feed_item_free(fitem);
 }
 
diff --git a/src/plugins/rssyl/rssyl_update_comments.c b/src/plugins/rssyl/rssyl_update_comments.c
index 8d05d6c..e552f4a 100644
--- a/src/plugins/rssyl/rssyl_update_comments.c
+++ b/src/plugins/rssyl/rssyl_update_comments.c
@@ -132,7 +132,6 @@ void rssyl_update_comments(RFolderItem *ritem)
 
 				RFeedCtx *ctx = (RFeedCtx *)fi->data;
 				g_free(ctx->path);
-				g_free(ctx);
 				feed_item_free(fi);
 			}
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list