aboutsummaryrefslogtreecommitdiff
path: root/src/common/aes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/aes.c')
-rw-r--r--src/common/aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/aes.c b/src/common/aes.c
index b4dd774755..71250cd0c5 100644
--- a/src/common/aes.c
+++ b/src/common/aes.c
@@ -157,7 +157,7 @@ aes_free_cipher(aes_cnt_cipher_t *cipher)
{
assert(cipher);
memset(cipher, 0, sizeof(cipher));
- free(cipher);
+ tor_free(cipher);
}
/** Encrypt <b>len</b> bytes from <b>input</b>, storing the result in