Fixed bug when reading `classfd.tle`.

`flose()` must be called if and only if the file can be opened
successfully.
pull/16/head
Mario Haustein 2020-05-21 18:32:05 +02:00
parent e6beaae22c
commit 84b3c40414
1 changed files with 1 additions and 1 deletions

View File

@ -472,8 +472,8 @@ int is_classified(int satno)
if (no==satno) flag=1;
}
}
fclose(file);
}
fclose(file);
return flag;
}