Commit 2641321e authored by Mathieu Faverge's avatar Mathieu Faverge

Add missing destroy in workspace

parent 2e728b00
......@@ -199,6 +199,8 @@ int MORSE_Dealloc_Workspace(MORSE_desc_t **desc)
return MORSE_ERR_UNALLOCATED;
}
morse_desc_mat_free( *desc );
RUNTIME_desc_destroy( *desc );
free(*desc);
*desc = NULL;
return MORSE_SUCCESS;
......
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