about summary refs log tree commit diff
path: root/magrep.c
diff options
context:
space:
mode:
authorJulian Rother <julianr@fsmpi.rwth-aachen.de>2018-12-18 22:10:10 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-12-19 16:31:54 +0100
commit3cc19448774c4028179df34f26c1be258e57e10b (patch)
tree1711c972dc77b2c9d18e86b22c798fe44086d1f6 /magrep.c
parent0da4342b220c8ed2108a332a2a9703c80fbcc2ea (diff)
downloadmblaze-3cc19448774c4028179df34f26c1be258e57e10b.tar.gz
mblaze-3cc19448774c4028179df34f26c1be258e57e10b.tar.xz
mblaze-3cc19448774c4028179df34f26c1be258e57e10b.zip
magrep: fix memory leak in magrep message body search
Closes: #147 [via git-merge-pr]
Diffstat (limited to 'magrep.c')
-rw-r--r--magrep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/magrep.c b/magrep.c
index 44ef548..7fad9e1 100644
--- a/magrep.c
+++ b/magrep.c
@@ -123,6 +123,7 @@ match_body(char *file)
 		return;
 
 	blaze822_walk_mime(msg, 0, match_part);
+	blaze822_free(msg);
 }
 
 int