jmap: fix jmap_free, tests.
[ccan] / ccan / jmap / test / run-uintidx-type.c
index 0dda6eddfb7224ae54a946e02d30d9c17cd32c66..2a3714278e80479494f63aa0e8bc65fdf3a1fed5 100644 (file)
@@ -126,5 +126,8 @@ int main(int argc, char *argv[])
        ok1(jmap_foo_error(map) == NULL);
        jmap_foo_free(map);
 
+       for (i = 0; i < NUM; i++)
+               free(foo[i]);
+
        return exit_status();
 }