Marcus Meissner wrote:
@@ -88,6 +88,8 @@ MSVCRT_unexpected_function unexpected_handler; MSVCRT__se_translator_function se_translator; EXCEPTION_RECORD *exc_record;
- MSVCRT_wchar_t *wctime_buffer; /* buffer for ctime */
- MSVCRT_wchar_t *wasctime_buffer; /* buffer for asctime */
};
You need to free these buffers on thread destruction.