projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix memory leak when freeing RSSyl's FeedItem struct.
[claws.git]
/
src
/
plugins
/
rssyl
/
parse822.c
diff --git
a/src/plugins/rssyl/parse822.c
b/src/plugins/rssyl/parse822.c
index ca8b8420db59fc617fd058f60d40d26c1944fc53..c3cd109630dbb086ea1685feec401fb94e0be5ec 100644
(file)
--- a/
src/plugins/rssyl/parse822.c
+++ b/
src/plugins/rssyl/parse822.c
@@
-235,8
+235,10
@@
static void rssyl_flush_folder_func(gpointer data, gpointer user_data)
FeedItem *item = (FeedItem *)data;
RFeedCtx *ctx = (RFeedCtx *)item->data;
- if( ctx != NULL && ctx->path != NULL)
+ if( ctx != NULL && ctx->path != NULL)
{
g_free(ctx->path);
+ g_free(ctx);
+ }
feed_item_free(item);
}