[gtk/modern-testsuite] reftest: Plug a memory leak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/modern-testsuite] reftest: Plug a memory leak
- Date: Thu, 16 Sep 2021 17:11:35 +0000 (UTC)
commit 86b4cd1a0b2dbf2e9a97f1dc1ba6a02f6dd74588
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Sep 16 13:09:46 2021 -0400
reftest: Plug a memory leak
testsuite/reftests/reftest-compare.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/testsuite/reftests/reftest-compare.c b/testsuite/reftests/reftest-compare.c
index bb6c6ebc1a..3964205abe 100644
--- a/testsuite/reftests/reftest-compare.c
+++ b/testsuite/reftests/reftest-compare.c
@@ -74,6 +74,8 @@ buffer_diff_core (const guchar *buf_a,
bytes,
stride_diff);
row = (guint32 *) (buf_diff + y * stride_diff);
+
+ g_bytes_unref (bytes);
}
/* calculate a difference value for all 4 channels */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]