aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/atom/atom-test-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/atom/atom-test-utils.c')
-rw-r--r--lv2/atom/atom-test-utils.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lv2/atom/atom-test-utils.c b/lv2/atom/atom-test-utils.c
index 889c091..057dada 100644
--- a/lv2/atom/atom-test-utils.c
+++ b/lv2/atom/atom-test-utils.c
@@ -49,6 +49,16 @@ urid_map(LV2_URID_Map_Handle handle, const char* uri)
return n_uris;
}
+static void
+free_urid_map(void)
+{
+ for (uint32_t i = 0; i < n_uris; ++i) {
+ free(uris[i]);
+ }
+
+ free(uris);
+}
+
static int
test_fail(const char* fmt, ...)
{