diff options
Diffstat (limited to 'scd/scdaemon.c')
-rw-r--r-- | scd/scdaemon.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c index 4b63c9b4d..13cf2e6e0 100644 --- a/scd/scdaemon.c +++ b/scd/scdaemon.c @@ -1378,6 +1378,10 @@ handle_connections (int listen_fd) } } +#ifdef HAVE_W32_SYSTEM + if (the_event != INVALID_HANDLE_VALUE) + CloseHandle (the_event); +#endif cleanup (); log_info (_("%s %s stopped\n"), strusage(11), strusage(13)); npth_attr_destroy (&tattr); |