summaryrefslogtreecommitdiff
path: root/axfer/test/container-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'axfer/test/container-test.c')
-rw-r--r--axfer/test/container-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/axfer/test/container-test.c b/axfer/test/container-test.c
index fbef3a4..d89852a 100644
--- a/axfer/test/container-test.c
+++ b/axfer/test/container-test.c
@@ -73,6 +73,7 @@ static void test_builder(struct container_context *cntr,
assert(total_frame_count == frame_count);
container_context_destroy(cntr);
+ close(fd);
}
static void test_parser(struct container_context *cntr,
@@ -121,6 +122,7 @@ static void test_parser(struct container_context *cntr,
assert(total_frame_count == handled_frame_count);
container_context_destroy(cntr);
+ close(fd);
}
static int callback(struct test_generator *gen, snd_pcm_access_t access,