]> git.ozlabs.org Git - ccan/blobdiff - ccan/tal/test/run-free.c
wwviaudio: Mark examples as not compiling
[ccan] / ccan / tal / test / run-free.c
index 7b9a086e7c908bfe17b977d696ac0f6c85a0f7fe..f21264748d40a056a7e1ae5ed1d0976190d86e5a 100644 (file)
@@ -2,7 +2,7 @@
 #include <ccan/tal/tal.c>
 #include <ccan/tap/tap.h>
 
-static void destroy_errno(char *p)
+static void destroy_errno(char *p UNNEEDED)
 {
        errno = ENOENT;
 }
@@ -21,5 +21,6 @@ int main(void)
        tal_free(p);
        ok1(errno == EINVAL);
 
+       tal_cleanup();
        return exit_status();
 }