aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cochran.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cochran.c b/cochran.c
index 855ca7c93..fe65ee2ce 100644
--- a/cochran.c
+++ b/cochran.c
@@ -233,6 +233,7 @@ static void cochran_parse_header(const unsigned char *decode, unsigned mod,
break;
default:
printf ("Unknown log format v%c\n", buf[0x137]);
+ free(buf);
exit(1);
break;
}