remove memset 0 after calloc

This commit is contained in:
yoshio.inoue
2019-07-09 15:52:36 +09:00
parent 94af4d0eca
commit d02234ff66
-3
View File
@@ -93,9 +93,6 @@ void* nfapi_p7_allocate(size_t size, nfapi_p7_codec_config_t* config)
else
{
buffer_p = calloc(1, size);
if(buffer_p != NULL){
memset(buffer_p,0,size);
}
return buffer_p;
}
}