diff --git a/control/descriptor.c b/control/descriptor.c index 74dab8e340254dcd70d0153708b81bdde653161b..2459329895893f8f9435f4433db6c35df3c1ba83 100644 --- a/control/descriptor.c +++ b/control/descriptor.c @@ -747,6 +747,7 @@ int MORSE_Desc_Destroy(MORSE_desc_t **desc) return MORSE_ERR_UNALLOCATED; } + RUNTIME_desc_destroy( *desc ); morse_desc_mat_free( *desc ); free(*desc); *desc = NULL;