removed remaining part of why2_open-related commits

This commit is contained in:
Václav Šmejkal 2023-02-06 12:50:59 +01:00
parent 55dacb2a84
commit 4a1d77175e
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -31,7 +31,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
void why2_deallocate_logger(why2_log_file logger) void why2_deallocate_logger(why2_log_file logger)
{ {
why2_deallocate(&logger.file); close(logger.file);
why2_deallocate(logger.filename); why2_deallocate(logger.filename);
logger.filename = NULL; logger.filename = NULL;