Piotr Caban (@piotr) commented about dlls/msvcrt/time.c:
t = _localtime64( time ); strcpy( res, asctime( t ) );
- free(t);
Again, the implementation of `_ctime64_s` is broken (it shouldn't use non thread-safe `_localtime64` function) but there's no leak. Value returned by `_localtime64` should not be freed.