From f6bc2001832f1941ea40d52ab1333f3ceb76348a Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 4 May 2019 13:52:17 +0100 Subject: Media queries: Squash cond_parts parts leak. Signed-off-by: Michael Drake --- src/parse/mq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parse/mq.c b/src/parse/mq.c index e7227f7..7c1286f 100644 --- a/src/parse/mq.c +++ b/src/parse/mq.c @@ -45,6 +45,7 @@ static void css__mq_cond_parts_destroy(css_mq_cond_parts *cond_parts) for (uint32_t i = 0; i < cond_parts->nparts; i++) { css__mq_cond_or_feature_destroy(cond_parts->parts[i]); } + free(cond_parts->parts); free(cond_parts); } } -- cgit v1.2.3