projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ctors/dtors for BODY's
[apps/madmutt.git]
/
pattern.c
diff --git
a/pattern.c
b/pattern.c
index
cef1722
..
32a5094
100644
(file)
--- a/
pattern.c
+++ b/
pattern.c
@@
-1090,7
+1090,7
@@
mutt_pattern_exec (struct pattern_t *pat, pattern_exec_flag flags,
else {
mutt_parse_mime_message(ctx, h);
count = mutt_count_body_parts(h, 0);
-
mutt_free_body
(&h->content->parts);
+
body_list_wipe
(&h->content->parts);
}
return (pat->not ^ (count >= pat->min && (pat->max == M_MAXRANGE ||