From b62328cc54e5b15fa068abd5cec8f4e7b0ef61b5 Mon Sep 17 00:00:00 2001 From: "roel@libnfc.org" Date: Sat, 29 Sep 2012 08:46:40 +0000 Subject: [PATCH 1/1] cleaned up memmory --- tools/mfkey/mfkey.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/mfkey/mfkey.c b/tools/mfkey/mfkey.c index 35651717..71e35589 100755 --- a/tools/mfkey/mfkey.c +++ b/tools/mfkey/mfkey.c @@ -60,6 +60,7 @@ int main (int argc, char *argv[]) { lfsr_rollback_word(revstate, uid ^ nt, 0); crypto1_get_lfsr(revstate, &lfsr); printf("\nFound Key: [%02x %02x %02x %02x %02x %02x]\n\n",plfsr[5],plfsr[4],plfsr[3],plfsr[2],plfsr[1],plfsr[0]); + crypto1_destroy(revstate); return 0; } -- 2.39.5