commit | 7c0a82b7528c51299bf8dda6beb5e1fc8bf54b23 | [log] [tgz] |
---|---|---|
author | Shawn Willden <swillden@google.com> | Wed Sep 17 12:57:32 2014 -0600 |
committer | Shawn Willden <swillden@google.com> | Wed Sep 17 12:57:32 2014 -0600 |
tree | a91817a3faf4910672b5784d64d2381c11273976 | |
parent | a6c93e458e1d03ac5b8faca8d0e6cc82e526f31c [diff] [blame] |
Fix apparent memory leak in tests. Change-Id: I33e17c97a39783dd62a4d9ab7a9b30b555c96072
diff --git a/google_keymaster_test.cpp b/google_keymaster_test.cpp index 18befde..2748656 100644 --- a/google_keymaster_test.cpp +++ b/google_keymaster_test.cpp
@@ -36,6 +36,7 @@ int result = RUN_ALL_TESTS(); // Clean up stuff OpenSSL leaves around, so Valgrind doesn't complain. CRYPTO_cleanup_all_ex_data(); + ERR_remove_thread_state(NULL); ERR_free_strings(); return result; }