[pango/rewrite-line-breaking] Another small leak fix



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]