From 0617cdbd878d948203c168e717067034a380a483 Mon Sep 17 00:00:00 2001 From: nekobit Date: Thu, 25 Aug 2022 01:29:09 +0000 Subject: [PATCH] Fix notifications memleak FossilOrigin-Name: d7c1cffde3338a7ef54bdf3355735807e0dab93414c0936ebfc7f92d2861ec86 --- src/notifications.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/notifications.c b/src/notifications.c index 1f15b36..5be1fe4 100644 --- a/src/notifications.c +++ b/src/notifications.c @@ -79,6 +79,7 @@ void content_notifications(PATH_ARGS) // Output render_base_page(&b, req, ssn, api); mastodont_storage_cleanup(&storage); + mstdnt_cleanup_notifications(notifs, notifs_len); Safefree(dup); }