summaryrefslogtreecommitdiff
path: root/tests/testrandom.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testrandom.c')
-rw-r--r--tests/testrandom.c1
1 files changed, 1 insertions, 0 deletions
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);