diff options
Diffstat (limited to 'test/common.h')
-rw-r--r-- | test/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/common.h b/test/common.h index 35368fa..374b9ac 100644 --- a/test/common.h +++ b/test/common.h @@ -82,7 +82,7 @@ int has_available_input_device(cubeb * ctx) if (devices->count == 0) { fprintf(stderr, "no input device available, skipping test.\n"); - cubeb_device_collection_destroy(devices); + cubeb_device_collection_destroy(ctx, devices); return 0; } @@ -96,7 +96,7 @@ int has_available_input_device(cubeb * ctx) "available, skipping\n"); } - cubeb_device_collection_destroy(devices); + cubeb_device_collection_destroy(ctx, devices); return !!input_device_available; } |