diff options
Diffstat (limited to 'mailinfo.c')
-rw-r--r-- | mailinfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mailinfo.c b/mailinfo.c index f92cb9f729..44f829edb1 100644 --- a/mailinfo.c +++ b/mailinfo.c @@ -919,8 +919,7 @@ again: /* we hit an end boundary */ /* pop the current boundary off the stack */ strbuf_release(*(mi->content_top)); - free(*(mi->content_top)); - *(mi->content_top) = NULL; + FREE_AND_NULL(*(mi->content_top)); /* technically won't happen as is_multipart_boundary() will fail first. But just in case.. |