summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/biruda.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/biruda.c b/src/biruda.c
index 1a25a05..7c0f1b4 100644
--- a/src/biruda.c
+++ b/src/biruda.c
@@ -403,6 +403,7 @@ int main( int argc, char *argv[] )
#endif
if( cfg ) cfg_free( cfg );
cmdline_parser_free( &args_info );
+ if( in != stdin ) fclose( in );
exit( ( ret == 0 ) ? EXIT_SUCCESS : EXIT_FAILURE );
}