Do cleanup
FossilOrigin-Name: f2f0a5fe6227e4dd42bb635f65a9110189739cbb147e79bd0eaedfc03b11ddf8
This commit is contained in:
parent
c0ddc1bf5e
commit
4f21fb33c2
1 changed files with 4 additions and 3 deletions
|
@ -209,9 +209,10 @@ int mstdnt_await(mastodont_t* mstdnt,
|
|||
|
||||
void mstdnt_storage_cleanup(struct mstdnt_storage* storage);
|
||||
|
||||
void mstdnt_request_cb_cleanup(mstdnt_request_cb_data* data)
|
||||
void
|
||||
mstdnt_request_cb_cleanup(mstdnt_request_cb_data* data)
|
||||
{
|
||||
mstdnt_storage_cleanup(data->storage);
|
||||
//data->data_free_cb(data->data, 0);
|
||||
/* free(data); */
|
||||
data->data_free_cb(data->data);
|
||||
free(data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue