projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8987e56
)
RSSyl: Fix memory leak caused by last commit.
author
Andrej Kacian
<ticho@claws-mail.org>
Thu, 23 Oct 2014 16:38:56 +0000
(18:38 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Thu, 23 Oct 2014 16:38:56 +0000
(18:38 +0200)
src/plugins/rssyl/rssyl.c
patch
|
blob
|
history
diff --git
a/src/plugins/rssyl/rssyl.c
b/src/plugins/rssyl/rssyl.c
index 5753a0029114dd69bdd1aa5923ea13f7ac149c08..120037cd730a1f0aa6155c7fd55b302ec4a9ee85 100644
(file)
--- 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;
}