5 ERR_remove_state - free a thread's error queue
9 #include <openssl/err.h>
11 void ERR_remove_state(unsigned long pid);
15 ERR_remove_state() frees the error queue associated with thread B<pid>.
16 If B<pid> == 0, the current thread will have its error queue removed.
18 Since error queue data structures are allocated automatically for new
19 threads, they must be freed when threads are terminated in order to
24 ERR_remove_state() returns no value.
32 ERR_remove_state() is available in all versions of SSLeay and OpenSSL.