[Commits] [SCM] claws branch, master, updated. 3.17.3-153-g8101fa7
ticho at claws-mail.org
ticho at claws-mail.org
Tue Apr 23 23:46:50 CEST 2019
The branch, master has been updated
via 8101fa7f5c1e01f3d7b9e2aa6873cf490f610a7b (commit)
from 984d5ed3aca6d87c6e42196ae8ed71b936f6e980 (commit)
Summary of changes:
src/plugins/rssyl/rssyl.c | 1 +
1 file changed, 1 insertion(+)
- Log -----------------------------------------------------------------
commit 8101fa7f5c1e01f3d7b9e2aa6873cf490f610a7b
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Tue Apr 23 23:46:43 2019 +0200
Fix a memory leak in rssyl_rename_folder()
diff --git a/src/plugins/rssyl/rssyl.c b/src/plugins/rssyl/rssyl.c
index fdd1816..410b536 100644
--- a/src/plugins/rssyl/rssyl.c
+++ b/src/plugins/rssyl/rssyl.c
@@ -591,6 +591,7 @@ static gint rssyl_rename_folder(Folder *folder, FolderItem *item,
dirname = g_path_get_dirname(oldpath);
basenewpath = g_strdelimit(g_strdup(name), G_DIR_SEPARATOR_S, '_');
newpath = g_strconcat(dirname, G_DIR_SEPARATOR_S, basenewpath, NULL);
+ g_free(dirname);
g_free(basenewpath);
if( g_rename(oldpath, newpath) < 0 ) {
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list