mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-12 08:16:09 -07:00
some @iceman1001 s coverty scan fixes
great work!
This commit is contained in:
parent
3975d477e1
commit
c4c3af7c16
7 changed files with 20 additions and 3 deletions
|
@ -171,6 +171,7 @@ void printarr(char * name, uint8_t* arr, int len)
|
|||
}
|
||||
cx += snprintf(output+cx,outsize-cx,"};");
|
||||
prnlog(output);
|
||||
free(output);
|
||||
}
|
||||
|
||||
void printvar(char * name, uint8_t* arr, int len)
|
||||
|
@ -188,6 +189,7 @@ void printvar(char * name, uint8_t* arr, int len)
|
|||
}
|
||||
|
||||
prnlog(output);
|
||||
free(output);
|
||||
}
|
||||
|
||||
void printarr_human_readable(char * title, uint8_t* arr, int len)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue