]> git.sesse.net Git - vlc/commitdiff
Qt4: missing cleanup and redundant include
authorJakob Leben <jleben@videolan.org>
Sat, 7 Nov 2009 10:16:15 +0000 (11:16 +0100)
committerJakob Leben <jleben@videolan.org>
Sat, 7 Nov 2009 10:19:39 +0000 (11:19 +0100)
modules/gui/qt4/components/playlist/selector.cpp

index eb4d7d63aae39c63cb92b6d4ffd20d742b3a2df3..edd05914051de0e57c71c71c8601215fb92a6021 100644 (file)
@@ -43,8 +43,6 @@
 #include <vlc_playlist.h>
 #include <vlc_services_discovery.h>
 
-#include <iostream>
-
 PLSelItem::PLSelItem ( QTreeWidgetItem *i, const QString& text )
     : qitem(i), btnAction( NULL )
 {
@@ -133,6 +131,8 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf )
 
 PLSelector::~PLSelector()
 {
+    delete plEM;
+
     if( podcastsParent )
     {
         int c = podcastsParent->childCount();