Commit 54baed3
ssl_util: fix memory leak
os is allocated with d2i_ASN1_OCTET_STRING and must
be released with ASN1_OCTET_STRING_free to avoid
leaking the internal buffer.
Fixes pkcs-keygen.int and pkcs-sign-verify.int tests on
opensuse-leap (clang)
Signed-off-by: Fabian Dubberke <fdub@posteo.de>1 parent 9460b04 commit 54baed3
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
232 | | - | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
| |||
0 commit comments