gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r12238: Oops, sorry for the silly sc


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r12238: Oops, sorry for the silly scan rewrite (infinite loop).
Date: Fri, 11 Jun 2010 00:49:42 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 12238
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Fri 2010-06-11 00:49:42 +0200
message:
  Oops, sorry for the silly scan rewrite (infinite loop).
  Wasn't really needed anyway, the new concept I'm using won't need that
modified:
  libbase/GC.cpp
=== modified file 'libbase/GC.cpp'
--- a/libbase/GC.cpp    2010-06-10 12:31:18 +0000
+++ b/libbase/GC.cpp    2010-06-10 22:49:42 +0000
@@ -59,8 +59,9 @@
     log_debug(_("GC deleted, deleting all managed resources - collector run %d 
times"), _collectorRuns);
 #endif
 
-    while ( !_resList.empty() ) {
-        delete _resList.front();
+    for (ResList::iterator i=_resList.begin(), e=_resList.end(); i!=e; )
+    {
+        delete *i;
     }
 }
 


reply via email to

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