X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/ab981f05819e3b4b368e50f5729951a33f5ce8de..5147ec695991384578073c93d65e268f852b59c7:/client/cmdhflegic.c diff --git a/client/cmdhflegic.c b/client/cmdhflegic.c index 0adf3c59..731cead1 100644 --- a/client/cmdhflegic.c +++ b/client/cmdhflegic.c @@ -611,7 +611,7 @@ int CmdLegicCalcCrc8(const char *Cmd){ } //Validations if (errors){ - if (data != NULL) free(data); + if (data) free(data); return usage_legic_calccrc8(); } @@ -624,7 +624,7 @@ int CmdLegicCalcCrc8(const char *Cmd){ break; } - if (data != NULL) free(data); + if (data) free(data); return 0; }