tally: fix FreeBSD compile, memleak in tests.
[ccan] / ccan / tally / test / run-renormalize.c
index 7c141528d236b82335edf4923fd7117f252059f3..8fe9dbce329c1576a9762c2e14a0ca03123cc4ff 100644 (file)
@@ -21,5 +21,6 @@ int main(void)
        ok1(tally->counts[0] == 2);
        ok1(tally->counts[1] == 0);
 
+       free(tally);
        return exit_status();
 }