diff options
author | June McEnroe <june@causal.agency> | 2020-04-26 20:28:05 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-04-26 20:28:05 -0400 |
commit | ee67bb8c901e60ae5acb2e6074abfea3ac165b40 (patch) | |
tree | a0cb57f10e5b9c89b553864db103a94a98bbe813 | |
parent | Rename part->id to part->contentID (diff) | |
download | bubger-ee67bb8c901e60ae5acb2e6074abfea3ac165b40.tar.gz bubger-ee67bb8c901e60ae5acb2e6074abfea3ac165b40.zip |
Free part.parts.ptr
Oops.
Diffstat (limited to '')
-rw-r--r-- | archive.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |