]> git.ozlabs.org Git - ccan/blobdiff - ccan/tally/test/run-mean.c
tally: fix FreeBSD compile, memleak in tests.
[ccan] / ccan / tally / test / run-mean.c
index a4a67cf9c8e0885b1b6e49f130a289ef4cf2a3ba..b43dea6b2861cd062fb52ff83d1840aaa2304497 100644 (file)
@@ -25,5 +25,6 @@ int main(void)
                ok1(tally_mean(tally) == 0);
        }
 
+       free(tally);
        return exit_status();
 }