diff --git a/log2asc.c b/log2asc.c index 446c0b6..29d13e8 100644 --- a/log2asc.c +++ b/log2asc.c @@ -198,6 +198,8 @@ int main(int argc, char **argv) } } fflush(outfile); + fclose(outfile); + fclose(infile); return 0; }