mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-23 03:27:10 -04:00
Fix another issue spotted by PVS-Studio
This commit is contained in:
parent
22d1db8c7f
commit
a9c6f347a2
2 changed files with 2 additions and 2 deletions
|
@ -317,7 +317,7 @@ char * r;
|
|||
|
||||
if (b == NULL || b->slen < 0 || b->data == NULL) return NULL;
|
||||
l = b->slen;
|
||||
r = (char *) bstr__alloc ((size_t) (l + 1));
|
||||
r = (char *) bstr__alloc ((size_t)l + 1);
|
||||
if (r == NULL) return r;
|
||||
|
||||
for (i=0; i < l; i ++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue