From 1b54b66c633629f14e6cd2c60852995979a6e539 Mon Sep 17 00:00:00 2001 From: Utz-Uwe Haus <uhaus@cray.com> Date: Mon, 2 Nov 2020 15:30:26 +0100 Subject: [PATCH] remove another leak in schema deallocation --- attributes/maestro-schema.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/attributes/maestro-schema.c b/attributes/maestro-schema.c index f8ec4726..bb58d25c 100644 --- a/attributes/maestro-schema.c +++ b/attributes/maestro-schema.c @@ -377,6 +377,8 @@ mstro_schema_free(mstro_schema sch) if(sa->defaultval!=NULL && sa->defaultval!=MSTRO_SCHEMA_DEFAULT_VAL_UNSET) { free(sa->defaultval); } + if(sa->type_parse_closure.info) + mstro_stp_val_dispose(sa->type_parse_closure.info); if(sa->key) free(sa->key); if(sa->typespec) -- GitLab