[atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp,1.121.6.2,1.121.6.3
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv13507/client
Modified Files:
Tag: KDE_3_1_BRANCH
atlantik.cpp
Log Message:
small leak fix that might happen when going from game list to board directly (for future spectator functionality)
Index: atlantik.cpp
===================================================================
RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v
retrieving revision 1.121.6.2
retrieving revision 1.121.6.3
diff -u -d -r1.121.6.2 -r1.121.6.3
--- atlantik.cpp 13 Jan 2003 17:14:39 -0000 1.121.6.2
+++ atlantik.cpp 19 Jan 2003 19:18:17 -0000 1.121.6.3
@@ -316,6 +316,12 @@
void Atlantik::showBoard()
{
+ if (m_selectGame)
+ {
+ delete m_selectGame;
+ m_selectGame = 0;
+ }
+
if (m_selectConfiguration)
{
delete m_selectConfiguration;