main: call poll_close() from re_thread_close()

This commit is contained in:
Alfred E. Heggestad 2014-05-29 11:44:57 +00:00
parent 4e4827870c
commit daa24b983d

View file

@ -1005,6 +1005,7 @@ void re_thread_close(void)
re = pthread_getspecific(pt_key);
if (re) {
poll_close(re);
free(re);
pthread_setspecific(pt_key, NULL);
}