You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/08/03 17:54:30 UTC
[nuttx-apps] branch master updated: fix memory leak in aesctr test case
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new e109319a2 fix memory leak in aesctr test case
e109319a2 is described below
commit e109319a2ef06c686bc71b35f9b1c41a1830a273
Author: makejian <ma...@xiaomi.com>
AuthorDate: Tue Jun 27 10:44:03 2023 +0800
fix memory leak in aesctr test case
Signed-off-by: makejian <ma...@xiaomi.com>
---
testing/crypto/aesctr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testing/crypto/aesctr.c b/testing/crypto/aesctr.c
index 4d65ddbd5..ee6e13c97 100644
--- a/testing/crypto/aesctr.c
+++ b/testing/crypto/aesctr.c
@@ -338,6 +338,7 @@ done:
free(data[i]);
}
+ free(p);
return (fail);
}