]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/commands/cmd_muxer.cpp
dash: MPDManager: Fixing memory leak
[vlc] / modules / gui / skins2 / commands / cmd_muxer.cpp
index 9b652ebe3c90dc50cea32a019d48053803bfa06b..30dec0c9254d79619150505adb7b1d2f7d1324c4 100644 (file)
@@ -16,9 +16,9 @@
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 #include "cmd_muxer.hpp"
@@ -26,9 +26,7 @@
 
 void CmdMuxer::execute()
 {
-    list<CmdGeneric*>::const_iterator it;
-    for( it = m_list.begin(); it != m_list.end(); it++ )
-    {
+    cmdList_t::const_iterator it;
+    for( it = m_list.begin(); it != m_list.end(); ++it )
         (*it)->execute();
-    }
 }