From 605ba76d8afdae326bbf5f2c9e7c940242e70df2 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 5 Nov 2021 19:59:59 -0700 Subject: [PATCH] MATRIX: Fix leak on error path. --- src/language/stats/matrix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/language/stats/matrix.c b/src/language/stats/matrix.c index c59b3fd2db..ca14562a9c 100644 --- a/src/language/stats/matrix.c +++ b/src/language/stats/matrix.c @@ -4703,6 +4703,7 @@ matrix_parse_read (struct matrix_state *s) return cmd; error: + fh_unref (fh); matrix_cmd_destroy (cmd); free (encoding); return NULL; -- 2.30.2