mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-11 10:35:22 -04:00
removed two instances of malloc(0) captured by new rs_malloc funtion
This commit is contained in:
parent
d13526facd
commit
d55993d1e4
35 changed files with 73 additions and 56 deletions
|
@ -75,7 +75,7 @@ bool RsTlvBinaryData::setBinData(const void *data, uint32_t size)
|
|||
return true;
|
||||
}
|
||||
|
||||
bin_data = rs_safe_malloc(bin_len);
|
||||
bin_data = rs_malloc(bin_len);
|
||||
|
||||
if(bin_data == NULL)
|
||||
return false ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue