Revision: 7644 https://osdn.net/projects/ttssh2/scm/svn/commits/7644 Author: zmatsuo Date: 2019-05-06 22:41:16 +0900 (Mon, 06 May 2019) Log Message: ----------- debug時に_free_dbg()を使用するようにした Modified Paths: -------------- trunk/teraterm/teraterm/vtwin.cpp -------------- next part -------------- Modified: trunk/teraterm/teraterm/vtwin.cpp =================================================================== --- trunk/teraterm/teraterm/vtwin.cpp 2019-05-06 13:41:08 UTC (rev 7643) +++ trunk/teraterm/teraterm/vtwin.cpp 2019-05-06 13:41:16 UTC (rev 7644) @@ -117,7 +117,8 @@ #endif #ifdef _DEBUG -#define malloc(l) _malloc_dbg((l), _NORMAL_BLOCK, __FILE__, __LINE__) +#define malloc(l) _malloc_dbg((l), _NORMAL_BLOCK, __FILE__, __LINE__) +#define free(p) _free_dbg((p), _NORMAL_BLOCK) #define new ::new(_NORMAL_BLOCK, __FILE__, __LINE__) #endif