From ee67bb8c901e60ae5acb2e6074abfea3ac165b40 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 26 Apr 2020 20:28:05 -0400 Subject: Free part.parts.ptr Oops. --- archive.h | 1 + 1 file changed, 1 insertion(+) (limited to 'archive.h') diff --git a/archive.h b/archive.h index 324f342..09f8f6a 100644 --- a/archive.h +++ b/archive.h @@ -121,6 +121,7 @@ static inline void bodyPartFree(struct BodyPart part) { for (size_t i = 0; i < part.parts.len; ++i) { bodyPartFree(part.parts.ptr[i]); } + free(part.parts.ptr); } if (part.message.envelope) { envelopeFree(*part.message.envelope); -- cgit 1.4.1