From 381e855da7e62347f95e8f7c32c7dcae8f060753 Mon Sep 17 00:00:00 2001 From: SuperNovaa41 Date: Sat, 17 Jun 2023 16:54:20 -0400 Subject: [PATCH] adds a missing fclose() --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index 237781b..bdca36c 100644 --- a/main.cpp +++ b/main.cpp @@ -42,6 +42,7 @@ void run_schedule_getter(std::string id) FILE *fd = fopen("get_schedule.py", "r"); PyRun_SimpleFileEx(fd, "get_schedule.py", 1); + fclose(fd); Py_Finalize(); }