Fix emoji memory leak

FossilOrigin-Name: d8dc1cb1f1eb47d876960c478fd4db6be7f0060e1494fb6fbc3ce08b35003749
This commit is contained in:
me@ow.nekobit.net 2022-05-02 17:08:10 +00:00
parent 3e64f416eb
commit 5fd13fa47a

View file

@ -547,6 +547,7 @@ void mstdnt_cleanup_status(struct mstdnt_status* status)
{
cleanup_attachments(status->media_attachments);
cleanup_status_pleroma(&(status->pleroma));
cleanup_emojis(status->emojis);
if (status->reblog)
free(status->reblog);
}