X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fjmap%2Ftest%2Frun-uintidx-type.c;h=2a3714278e80479494f63aa0e8bc65fdf3a1fed5;hb=cc2d609dfca7192305ad477b8c2b52cfdc1aa9be;hp=0dda6eddfb7224ae54a946e02d30d9c17cd32c66;hpb=7766154ac917ee68545f5dafc481642feb3b85ab;p=ccan diff --git a/ccan/jmap/test/run-uintidx-type.c b/ccan/jmap/test/run-uintidx-type.c index 0dda6edd..2a371427 100644 --- a/ccan/jmap/test/run-uintidx-type.c +++ b/ccan/jmap/test/run-uintidx-type.c @@ -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(); }