removed two instances of malloc(0) captured by new rs_malloc funtion

This commit is contained in:
csoler 2016-01-12 21:43:04 -05:00
parent d13526facd
commit d55993d1e4
35 changed files with 73 additions and 56 deletions

View file

@ -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 ;