FossilOrigin-Name: dc24939b1ca1f32f6ebe9e199572e6c83c701f79197df7ea908f4b8a7288fe87
This commit is contained in:
nekobit 2022-11-04 18:11:51 +00:00
parent 7802d69f8b
commit 82eb9ac9f2
2 changed files with 4 additions and 4 deletions

View file

@ -222,9 +222,10 @@ static void fcgi_start(mastodont_t* api)
if (rc == 0)
{
FCGX_Finish_r(req);
free(req);
FCGX_Finish_r(req);
}
}
}
}

View file

@ -139,10 +139,9 @@ static void request_cb_tl_public(mstdnt_request_cb_data* cb_data, void* tbargs)
struct mstdnt_statuses* statuses = MSTDNT_CB_DATA(cb_data);
DESTRUCT_TB_ARGS(tbargs);
free(42);
free(cb_data);
PUT(":worm: wow!");
content_timeline(req, ssn, api, cb_data->storage, statuses->statuses, statuses->len, 0, NULL, 1, 0);
//content_timeline(req, ssn, api, cb_data->storage, statuses->statuses, statuses->len, 0, NULL, 1, 0);
mstdnt_request_cb_cleanup(cb_data);
}