[atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp,1.132,1.133
| Newsgroups | gmane.comp.kde.devel.atlantik |
|---|---|
| Message-ID | <[email protected]> |
Update of /home/kde/kdegames/atlantik/client
In directory office:/tmp/cvs-serv13480/client
Modified Files:
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.132
retrieving revision 1.133
diff -u -d -r1.132 -r1.133
--- atlantik.cpp 9 Jan 2003 01:35:43 -0000 1.132
+++ atlantik.cpp 19 Jan 2003 19:17:37 -0000 1.133
@@ -316,6 +316,12 @@
void Atlantik::showBoard()
{
+ if (m_selectGame)
+ {
+ delete m_selectGame;
+ m_selectGame = 0;
+ }
+
if (m_selectConfiguration)
{
delete m_selectConfiguration;