mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 23:45:49 -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
|
@ -129,7 +129,7 @@ HashCache::HashCache(const std::string& path)
|
|||
|
||||
// read the binary stream into memory.
|
||||
//
|
||||
void *buffer = rs_safe_malloc(file_size) ;
|
||||
void *buffer = rs_malloc(file_size) ;
|
||||
|
||||
if(buffer == NULL)
|
||||
return ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue