diff options
author | tony <tsyrogit@users.noreply.github.com> | 2016-10-24 18:09:33 +0100 |
---|---|---|
committer | tony <tsyrogit@users.noreply.github.com> | 2016-10-24 18:09:33 +0100 |
commit | 7e3630a0ad96e472c983e4623e2787225d8e5312 (patch) | |
tree | 4933ed9db22fbbd730213fa48f2d3bbdea8a424b | |
parent | 13c1acc8cebc4aed81066e9f4808456b42f56949 (diff) | |
download | zxcvbn-c-7e3630a0ad96e472c983e4623e2787225d8e5312.tar.gz |
Fix memory leak
-rw-r--r-- | zxcvbn.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1659,6 +1659,7 @@ double ZxcvbnMatch(const char *Pwd, const char *UserDict[], ZxcMatch_t **Info) } } } + FreeFn(RevPwd); /* End node has infinite distance/entropy, start node has 0 distance */ Nodes[i].Dist = DBL_MAX; Nodes[0].Dist = 0.0; |