[prev in list] [next in list] [prev in thread] [next in thread]
List: gnash-commit
Subject: [Gnash-commit] gnash/server button.cpp
From: Rob Savoye <rob () welcomehome ! org>
Date: 2006-03-17 20:21:31
Message-ID: E1FKLRz-0007nE-1p () savannah ! gnu ! org
[Download RAW message or body]
CVSROOT: /sources/gnash
Module name: gnash
Branch:
Changes by: Rob Savoye <rsavoye@savannah.gnu.org> 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();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic