]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
cleaned up memmory
authorroel@libnfc.org <roel@libnfc.org@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Sat, 29 Sep 2012 08:46:40 +0000 (08:46 +0000)
committerroel@libnfc.org <roel@libnfc.org@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Sat, 29 Sep 2012 08:46:40 +0000 (08:46 +0000)
tools/mfkey/mfkey.c

index 356517175f8408dc7c70f3b3dab028deb8eb8437..71e35589e07dcd33abc5a4d0b0fef435c7815350 100755 (executable)
@@ -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;
 }
Impressum, Datenschutz