Cleanup chats correctly
FossilOrigin-Name: 926e998d4538ddd0d601865073069728207a59a5cf69300c158be38e101c201f
This commit is contained in:
parent
d68d553759
commit
7390326d2c
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue