cwfs: fix putbuf(nil) in error case of cmd_check()

This commit is contained in:
cinap_lenrek 2013-10-16 07:21:12 +02:00
parent d7ad36942d
commit 1cd4579cdc

View file

@ -236,10 +236,9 @@ cmd_check(int argc, char *argv[])
print("deepest recursion=%d\n", maxdepth-1); /* one-origin */
if(!cwflag)
missing();
putbuf(p);
out:
cons.noage = 0;
putbuf(p);
chkfree(name);
chkfree(abits);
chkfree(qbits);