tests: don't leak fd in test

This commit is contained in:
Wim Taymans 2022-01-21 09:45:29 +01:00
parent 0c3be71ceb
commit 7d4369c1af

View file

@ -103,6 +103,7 @@ test_file_monitor_basic (TestFixture * f, gconstpointer user_data)
g_signal_emit_by_name (f->plugin, "remove-watch", f->path);
/* remove 'foo' */
close (fd);
(void) remove (filename);
}