Cleaned up location of init and free for some programs to prevent memory
leaks on incorrect arguments
diff --git a/programs/hash/sha2sum.c b/programs/hash/sha2sum.c
index c01bb1c..f731c3c 100644
--- a/programs/hash/sha2sum.c
+++ b/programs/hash/sha2sum.c
@@ -136,6 +136,8 @@
         n = sizeof( line );
     }
 
+    fclose( f );
+
     if( nb_err1 != 0 )
     {
         printf( "WARNING: %d (out of %d) input files could "