Zero initialize on error
FossilOrigin-Name: 7664561c3ee39857ce8286428f8ad8b13ef410cee9a8df765e9c7507b22fbcc2
This commit is contained in:
parent
67ca10565d
commit
54fc8dbfb9
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ int try_post_status(struct session* ssn, mastodont_t* api)
|
|||
{
|
||||
if (!(ssn->post.content)) return 1;
|
||||
|
||||
struct mstdnt_storage storage, *att_storage = NULL;
|
||||
struct mstdnt_storage storage = { 0 }, *att_storage = NULL;
|
||||
|
||||
char** files;
|
||||
size_t files_len;
|
||||
|
|
Loading…
Reference in a new issue