libfprint/SOURCES/0008-print-Free-temporary-col-variable.patch
2021-09-09 20:12:48 +00:00

26 lines
829 B
Diff

From 14a41bdd485d484146a0a102d142239c2cb8a245 Mon Sep 17 00:00:00 2001
From: Benjamin Berg <bberg@redhat.com>
Date: Mon, 25 Nov 2019 18:40:59 +0100
Subject: [PATCH 008/181] print: Free temporary col variable
The variable was leaked during serialization. Free it.
---
libfprint/fp-print.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libfprint/fp-print.c b/libfprint/fp-print.c
index 644370d..592be14 100644
--- a/libfprint/fp-print.c
+++ b/libfprint/fp-print.c
@@ -921,6 +921,7 @@ fp_print_serialize (FpPrint *print,
xyt->nrows,
sizeof (col[0])));
g_variant_builder_close (&nested);
+ g_free (col);
}
g_variant_builder_close (&nested);
--
2.24.1