[Ttssh2-commit] [8716] asprintf()系でメモリリークが起きたときレポートが出るようにした

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2020年 4月 13日 (月) 01:28:58 JST


Revision: 8716
          https://osdn.net/projects/ttssh2/scm/svn/commits/8716
Author:   zmatsuo
Date:     2020-04-13 01:28:57 +0900 (Mon, 13 Apr 2020)
Log Message:
-----------
asprintf()系でメモリリークが起きたときレポートが出るようにした

Modified Paths:
--------------
    trunk/teraterm/common/asprintf.cpp

-------------- next part --------------
Modified: trunk/teraterm/common/asprintf.cpp
===================================================================
--- trunk/teraterm/common/asprintf.cpp	2020-04-11 16:31:52 UTC (rev 8715)
+++ trunk/teraterm/common/asprintf.cpp	2020-04-12 16:28:57 UTC (rev 8716)
@@ -27,7 +27,9 @@
  */
 
 #include <stdio.h>
+#define _CRTDBG_MAP_ALLOC
 #include <stdlib.h>
+#include <crtdbg.h>
 #include <assert.h>
 #include <errno.h>
 #include <string.h>


Ttssh2-commit メーリングリストの案内
Back to archive index