X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fopt%2Ftest%2Frun-correct-reporting.c;h=8534f291ac3e9accfeafb0685fc61286b6adf4b6;hb=156e5eb92f1d986957cb081b58320579c6e366dd;hp=4f775a29c47fb0fa819417a0690c01a294034cd9;hpb=9056c31b46452c92c7dd9c276664f514720a84c6;p=ccan diff --git a/ccan/opt/test/run-correct-reporting.c b/ccan/opt/test/run-correct-reporting.c index 4f775a29..8534f291 100644 --- a/ccan/opt/test/run-correct-reporting.c +++ b/ccan/opt/test/run-correct-reporting.c @@ -42,6 +42,8 @@ int main(int argc, char *argv[]) free(err_output); err_output = NULL; + /* parse_args allocates argv */ + free(argv); return exit_status(); }