mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +00:00
[STUBGEN]
Fix resources leak svn path=/trunk/; revision=53741
This commit is contained in:
parent
a638c81564
commit
0d50ae47fc
|
@ -34,7 +34,11 @@ int main( int argc, char **argv ) {
|
|||
int i, libstart = argc;
|
||||
FILE *out = fopen("tests/stubs.tst","w");
|
||||
|
||||
if( argc == 1 ) { usage(argv[0]); return 1; }
|
||||
if( argc == 1 ) {
|
||||
if( out ) fclose( out );
|
||||
usage(argv[0]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if( !out ) {
|
||||
fprintf( stderr, "Could not write file tests/stubs.tst\n" );
|
||||
|
|
Loading…
Reference in a new issue