diff --git a/src/cmt_cat.c b/src/cmt_cat.c index a9ba723..b217119 100644 --- a/src/cmt_cat.c +++ b/src/cmt_cat.c @@ -429,6 +429,8 @@ int cmt_cat_summary(struct cmt *cmt, struct cmt_summary *summary, quantiles, map->label_count, labels); if (!sum) { + free(labels); + free(quantiles); return -1; }