summaryrefslogtreecommitdiff
path: root/tests/localalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/localalloc.c')
-rw-r--r--tests/localalloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/localalloc.c b/tests/localalloc.c
index 46024c3..087261a 100644
--- a/tests/localalloc.c
+++ b/tests/localalloc.c
@@ -25,6 +25,8 @@ test_localalloc (void)
gs_strfreev char **strv = g_get_environ ();
gs_free_error GError *err = g_error_new (G_IO_ERROR, G_IO_ERROR_FAILED, "oops %s", "darn!");
gs_unref_keyfile GKeyFile *keyfile = g_key_file_new ();
+ gs_fd_close int fd = open ("/dev/null", O_RDONLY);
+ gs_fd_close int fd2 = -1;
}
int