pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] r3223 - trunk/pingus/src/input


From: jsalmon3
Subject: [Pingus-CVS] r3223 - trunk/pingus/src/input
Date: Sat, 22 Sep 2007 04:34:12 +0200

Author: jsalmon3
Date: 2007-09-22 04:34:08 +0200 (Sat, 22 Sep 2007)
New Revision: 3223

Modified:
   trunk/pingus/src/input/core_driver.cpp
Log:
Fixed mem leaks

Modified: trunk/pingus/src/input/core_driver.cpp
===================================================================
--- trunk/pingus/src/input/core_driver.cpp      2007-09-22 02:27:40 UTC (rev 
3222)
+++ trunk/pingus/src/input/core_driver.cpp      2007-09-22 02:34:08 UTC (rev 
3223)
@@ -155,6 +155,14 @@
   {
   }
 
+  ~ButtonScroller()
+  {
+    delete up;
+    delete down;
+    delete left;
+    delete right;
+  }
+
   void setup(Button* up_, Button* down_, Button* left_, Button* right_)
   {
     up    = up_;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]