projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RSSyl: Free GError from memory where necessary.
[claws.git]
/
src
/
plugins
/
rssyl
/
rssyl_deleted.c
diff --git
a/src/plugins/rssyl/rssyl_deleted.c
b/src/plugins/rssyl/rssyl_deleted.c
index 01cb0da41b8758836fbcf2cdb1a40c995fcbef21..6f3a06e9038fa2804fff3f19ef46d06930e7f6b7 100644
(file)
--- a/
src/plugins/rssyl/rssyl_deleted.c
+++ b/
src/plugins/rssyl/rssyl_deleted.c
@@
-104,8
+104,10
@@
GSList *rssyl_deleted_update(RFolderItem *ritem)
g_file_get_contents(deleted_file, &contents, NULL, &error);
- if (error)
+ if (error)
{
g_warning("GError: '%s'\n", error->message);
+ g_error_free(error);
+ }
if (contents != NULL) {
lines = strsplit_no_copy(contents, '\n');