Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d61d602d authored by THIBAULT Samuel's avatar THIBAULT Samuel
Browse files

Also make morse_desc_mat_alloc use the runtime allocation primitives

parent 17e438f5
No related branches found
No related tags found
No related merge requests found
......@@ -385,7 +385,7 @@ int morse_desc_mat_alloc( MORSE_desc_t *desc )
size_t size = (size_t)(desc->llm) * (size_t)(desc->lln)
* (size_t)MORSE_Element_Size(desc->dtyp);
if ((desc->mat = malloc(size)) == NULL) {
if ((desc->mat = RUNTIME_mat_alloc(size)) == NULL) {
morse_error("morse_desc_mat_alloc", "malloc() failed");
return MORSE_ERR_OUT_OF_RESOURCES;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment