]> git.ozlabs.org Git - ccan/blobdiff - ccan/opt/test/run-usage.c
various: add LICENSE comments.
[ccan] / ccan / opt / test / run-usage.c
index 37e8993fe8bde451bdbf713ba65c222e2b623171..2af2c7eebab773c770f21f7ae4a63bce81cfe97e 100644 (file)
@@ -1,4 +1,3 @@
-#define _GNU_SOURCE
 #include <ccan/tap/tap.h>
 #include <stdarg.h>
 #include <setjmp.h>
@@ -107,5 +106,7 @@ int main(int argc, char *argv[])
        ok1(strstr(output, "AAAAll"));
        free(output);
 
+       free(shortname);
+       free(longname);
        return exit_status();
 }