mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 01:03:02 +01:00
Merge branch 'master' into new_groupchats
This commit is contained in:
commit
76bfa34c45
@ -646,6 +646,8 @@ int store_data(Tox *m, const char *path)
|
|||||||
free(enc_data);
|
free(enc_data);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(enc_data);
|
||||||
} else { /* data will not be encrypted */
|
} else { /* data will not be encrypted */
|
||||||
if (fwrite(data, data_len, 1, fp) != 1) {
|
if (fwrite(data, data_len, 1, fp) != 1) {
|
||||||
fprintf(stderr, "Failed to write profile data.\n");
|
fprintf(stderr, "Failed to write profile data.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user