From 7390326d2c212308e4dd5ee7759f70364b66e82f Mon Sep 17 00:00:00 2001 From: nekobit Date: Thu, 25 Aug 2022 00:14:22 +0000 Subject: [PATCH] Cleanup chats correctly FossilOrigin-Name: 926e998d4538ddd0d601865073069728207a59a5cf69300c158be38e101c201f --- src/conversations.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/conversations.c b/src/conversations.c index 9f468ec..f585c66 100644 --- a/src/conversations.c +++ b/src/conversations.c @@ -70,7 +70,7 @@ void content_chats(PATH_ARGS) // Cleanup mastodont_storage_cleanup(&storage); - mstdnt_cleanup_chats(chats, chats_len); + mstdnt_cleanup_chats(chats); Safefree(dup); } @@ -125,7 +125,6 @@ void content_chat_view(PATH_ARGS) mastodont_storage_cleanup(&storage); mastodont_storage_cleanup(&storage_chat); - mstdnt_cleanup_chats(chats); mstdnt_cleanup_messages(messages); Safefree(dup); }