forked from mirrors/treebird
Notifications segfault fix
FossilOrigin-Name: 34ee1e9e8a61b38013a90ad9dad8e5726496bf6f24461365c643d0dc7a7e17f5
This commit is contained in:
parent
9eb8d79dca
commit
ba8a6c2027
1 changed files with 3 additions and 3 deletions
|
@ -183,9 +183,9 @@ void content_notifications(struct session* ssn, mastodont_t* api, char** data)
|
|||
struct mstdnt_args m_args;
|
||||
set_mstdnt_args(&m_args, ssn);
|
||||
char* page, *notif_html = NULL;
|
||||
struct mstdnt_storage storage;
|
||||
struct mstdnt_notification* notifs;
|
||||
size_t notifs_len;
|
||||
struct mstdnt_storage storage = { 0 };
|
||||
struct mstdnt_notification* notifs = NULL;
|
||||
size_t notifs_len = 0;
|
||||
char* start_id;
|
||||
char* navigation_box = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue