Fixed file descriptor leak in generic_sum
This commit is contained in:
parent
47703a0a80
commit
64abd83b67
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,8 @@ static int generic_check( const md_info_t *md_info, char *filename )
|
||||||
"not match\n", nb_err2, nb_tot2 );
|
"not match\n", nb_err2, nb_tot2 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fclose( f );
|
||||||
|
|
||||||
return( nb_err1 != 0 || nb_err2 != 0 );
|
return( nb_err1 != 0 || nb_err2 != 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue