[Users] [PATCH] Fix memory leak
Olivier Brunel
jjk at jjacky.com
Sat Feb 25 21:06:21 CET 2017
Signed-off-by: Olivier Brunel <jjk at jjacky.com>
---
src/folder.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/folder.c b/src/folder.c
index 458026ad7..97393d215 100644
--- a/src/folder.c
+++ b/src/folder.c
@@ -4806,6 +4806,8 @@ gint folder_item_search_msgs_local (Folder *folder,
}
processed_count++;
+ procmsg_msginfo_free(&msg);
+
if (progress_cb != NULL
&& !progress_cb(progress_data, FALSE, processed_count,
matched_count, msgcount))
--
2.11.1
More information about the Users
mailing list