Skip to content
Permalink
Browse files
Avoid crashing due to double-freeing memory.
  • Loading branch information
rl1987 committed Oct 24, 2015
1 parent 2929986 commit e2f9c7d54f20219da5d75a58196f21659774cafa
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/test/test_tortls.c
@@ -2864,6 +2864,7 @@ test_tortls_cert_new(void *ignored)
ret = tor_x509_cert_new(cert);
tt_assert(ret);
tor_x509_cert_free(ret);
ret = NULL;

#if 0
cert = read_cert_from(validCertString);

0 comments on commit e2f9c7d

Please sign in to comment.