FIX: coverty scan defects.
- bigbuf.c is comparision correct (iLen versus numofparity) - cmdhfepa.c resourceleak, add a call to free - cipherutils.c resourceleak, added calls to free
This commit is contained in:
1 parent
fcb1cdba15
commit
7f6ccd3926
3 files changed
+4
-2
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user