[pango/rewrite-line-breaking] Another small leak fix
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/rewrite-line-breaking] Another small leak fix
- Date: Tue, 16 Nov 2021 14:09:09 +0000 (UTC)
commit 1b745e7cfc789a3eb12c3388c2bad4b694083f4d
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Nov 16 09:08:59 2021 -0500
Another small leak fix
tests/testrandom.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/tests/testrandom.c b/tests/testrandom.c
index ac5695ec..e28d9442 100644
--- a/tests/testrandom.c
+++ b/tests/testrandom.c
@@ -269,6 +269,7 @@ init_ltr_words (void)
file = g_file_new_for_path ("/usr/share/dict/words");
bytes = g_file_load_bytes (file, NULL, NULL, NULL);
+ g_object_unref (file);
if (bytes)
{
result = g_strsplit (g_bytes_get_data (bytes, NULL), "\n", -1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]