Commit 1f775de3 authored by yoshio.inoue's avatar yoshio.inoue

remove memset 0 after calloc

parent 1ca2b65d
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment