free fp ecc resources on cleanup

This commit is contained in:
toddouska
2013-09-06 17:08:57 -07:00
parent 6e05d4317f
commit 44ba0af192
3 changed files with 8 additions and 0 deletions

View File

@@ -4482,6 +4482,10 @@ int CyaSSL_Cleanup(void)
if (FreeMutex(&count_mutex) != 0)
ret = BAD_MUTEX_E;
#if defined(HAVE_ECC) && defined(FP_ECC)
ecc_fp_free();
#endif
return ret;
}