[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/server button.cpp
From: |
Rob Savoye |
Subject: |
[Gnash-commit] gnash/server button.cpp |
Date: |
Fri, 17 Mar 2006 20:21:31 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Branch:
Changes by: Rob Savoye <address@hidden> 06/03/17 20:21:31
Modified files:
server : button.cpp
Log message:
This is the correct version of the patch. The loop is redundant because
::clear() does the same thing.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/server/button.cpp.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
Patches:
Index: gnash/server/button.cpp
diff -u gnash/server/button.cpp:1.7 gnash/server/button.cpp:1.8
--- gnash/server/button.cpp:1.7 Fri Mar 17 15:59:40 2006
+++ gnash/server/button.cpp Fri Mar 17 20:21:30 2006
@@ -813,11 +813,6 @@
button_action::~button_action()
{
- for (int i = 0, n = m_actions.size(); i < n; i++)
- {
- delete m_actions[i];
- }
- m_actions.resize(0);
m_actions.clear();
}