1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 20:53:01 +01:00

Merge branch 'master' into new_groupchats

This commit is contained in:
Jfreegman 2016-06-29 21:54:30 -04:00
commit 76bfa34c45

View File

@ -646,6 +646,8 @@ int store_data(Tox *m, const char *path)
free(enc_data);
return -1;
}
free(enc_data);
} else { /* data will not be encrypted */
if (fwrite(data, data_len, 1, fp) != 1) {
fprintf(stderr, "Failed to write profile data.\n");