tally: fix FreeBSD compile, memleak in tests.
[ccan] / ccan / tally / test / run-min-max.c
index ffb0f2eff497714a648bbcdafb30e0af10433d72..c92f6d382a490356224826ed96f121d4bfd7ef2c 100644 (file)
@@ -16,5 +16,6 @@ int main(void)
                ok1(tally_max(tally) == i);
                ok1(tally_min(tally) == -i);
        }
+       free(tally);
        return exit_status();
 }