mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-04 00:18:01 +02:00
tests: don't leak fd in test
This commit is contained in:
parent
0c3be71ceb
commit
7d4369c1af
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue