Fix free unset variable

FossilOrigin-Name: 55944e3266a74882f23031b62280c9a5e99b92a36c0485c0d51213daade8d3e9
This commit is contained in:
me@ow.nekobit.net 2022-04-14 13:26:51 +00:00
parent 2ab63c3398
commit ab365a3352

View file

@ -329,7 +329,7 @@ void content_status(struct session* ssn, mastodont_t* api, char** data, int is_r
char* output;
// Status context
struct mstdnt_storage storage, status_storage;
struct mstdnt_status* statuses_before, *statuses_after, status;
struct mstdnt_status* statuses_before, *statuses_after, status = { 0 };
size_t stat_before_len, stat_after_len;
char* before_html = NULL, *stat_html = NULL, *after_html = NULL, *stat_reply = NULL;