← Commit list

7babac8690

Viktor Szakats
Viktor Szakats
2026-08-05
SUCCESS Duration: 391s

Subject

servers: fix HANDLE leak in UWP builds

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/server/util.c+2 -5
@@ -696,12 +696,9 @@ void restore_signal_handlers(bool keep_sigalrm)
}
}
}
- if(exit_event) {
- if(CloseHandle(exit_event)) {
- exit_event = NULL;
- }
- }
#endif
+ if(exit_event && CloseHandle(exit_event))
+ exit_event = NULL;
#endif
}