Check if the pointer returned by malloc is nullptr. (#2347)
* Check if the pointer returned by malloc is nullptr. * Use ngraph_error. * Add more pointer checks. * Replace malloc and free with ngraph_malloc and ngraph_free.
Showing
Please
register
or
sign in
to comment