Missing sodium_free()

This commit is contained in:
Frank Denis 2015-06-08 15:06:13 +02:00
parent 6a2e8df4c2
commit 98ea87a872

View file

@ -272,6 +272,7 @@ seckey_load(const char *sk_file)
le64_load(seckey_struct->kdf_memlimit_le)) != 0) {
abort();
}
sodium_free(pwd);
xor_buf((unsigned char *) (void *) &seckey_struct->keynum_sk, stream,
sizeof seckey_struct->keynum_sk);
sodium_free(stream);