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

@ -289,7 +289,7 @@ int pqistore::readPkt(RsItem **item_out)
// initial read size: basic packet.
int blen = getRsPktBaseSize();
void *block = rs_safe_malloc(blen);
void *block = rs_malloc(blen);
if(block == NULL)
return false ;
@ -499,7 +499,7 @@ int pqiSSLstore::readPkt(RsItem **item_out)
// initial read size: basic packet.
int blen = getRsPktBaseSize();
void *block = rs_safe_malloc(blen);
void *block = rs_malloc(blen);
if(block == NULL)
return false ;