fix mym_time.c memory invalid read that reported by valgrind