Commit a1f9abb7 authored by Deucе's avatar Deucе 👌🏾
Browse files

Set fds to NULL before recycle.

Likely the cause of the crash that killed cvs.synchro.net last night
parent 9a11dfbe
Pipeline #1849 passed with stage
in 9 minutes and 56 seconds
...@@ -2313,7 +2313,7 @@ void services_thread(void* arg) ...@@ -2313,7 +2313,7 @@ void services_thread(void* arg)
} }
} }
#ifdef PREFER_POLL #ifdef PREFER_POLL
free(fds); FREE_AND_NULL(fds);
#endif #endif
/* Close Service Sockets */ /* Close Service Sockets */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment