[Ttssh2-commit] [8199] [Tooltip] TipWinオブジェクトを破棄したあとで空にした

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2019年 9月 20日 (金) 00:34:10 JST


Revision: 8199
          https://osdn.net/projects/ttssh2/scm/svn/commits/8199
Author:   yasuhide
Date:     2019-09-20 00:34:09 +0900 (Fri, 20 Sep 2019)
Log Message:
-----------
[Tooltip] TipWinオブジェクトを破棄したあとで空にした

Modified Paths:
--------------
    branches/tootip_classify/teraterm/teraterm/addsetting.cpp
    branches/tootip_classify/teraterm/teraterm/vtwin.cpp

-------------- next part --------------
Modified: branches/tootip_classify/teraterm/teraterm/addsetting.cpp
===================================================================
--- branches/tootip_classify/teraterm/teraterm/addsetting.cpp	2019-09-18 16:05:45 UTC (rev 8198)
+++ branches/tootip_classify/teraterm/teraterm/addsetting.cpp	2019-09-19 15:34:09 UTC (rev 8199)
@@ -643,6 +643,7 @@
 	free((void *)m_psp.pszTitle);
 	TipWin->Destroy();
 	delete TipWin;
+	TipWin = NULL;
 }
 
 // CVisualPropPageDlg \x83\x81\x83b\x83Z\x81[\x83W \x83n\x83\x93\x83h\x83\x89

Modified: branches/tootip_classify/teraterm/teraterm/vtwin.cpp
===================================================================
--- branches/tootip_classify/teraterm/teraterm/vtwin.cpp	2019-09-18 16:05:45 UTC (rev 8198)
+++ branches/tootip_classify/teraterm/teraterm/vtwin.cpp	2019-09-19 15:34:09 UTC (rev 8199)
@@ -825,6 +825,7 @@
 		::UnregisterClass(wc.lpszClassName, wc.hInstance);
 	}
 	delete TipWin;
+	TipWin = NULL;
 }
 
 /////////////////////////////////////////////////////////////////////////////


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