tally: fix FreeBSD compile, memleak in tests.
[ccan] / ccan / tally / test / run-mode.c
index 7216738bfbef95c9fb12682f33635a094611b750..cd2f23044367b894d9a30a8f0ed76c3f9c19a46a 100644 (file)
@@ -41,5 +41,6 @@ int main(void)
                ok1(mode - (ssize_t)err <= 0 && mode + (ssize_t)err >= 0);
        }
 
+       free(tally);
        return exit_status();
 }