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

@@ -3440,6 +3440,9 @@ void ecc_fp_free(void)
if (LockMutex(&ecc_fp_lock) == 0) {
ecc_fp_free_cache();
UnLockMutex(&ecc_fp_lock);
FreeMutex(&ecc_fp_lock);
initMutex = 0;
}
}