diff options
Diffstat (limited to 'ratox.c')
-rw-r--r-- | ratox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1028,7 +1028,7 @@ datasave(void) if (encryptsavefile){ sz += TOX_PASS_ENCRYPTION_EXTRA_LENGTH; data = malloc(sz); - if (!intermediate) + if (!data) eprintf("malloc:"); tox_pass_encrypt(intermediate, sz - TOX_PASS_ENCRYPTION_EXTRA_LENGTH, passphrase, pplen, data, NULL); } else { |