author | simon <simon> | 2002-12-05 19:13:57 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-05 19:13:57 (UTC) |
commit | 15d4d1f2fc8b37d30694acc5765a822718af6c13 (patch) (unidiff) | |
tree | 53769a23884812cf009f48271fbb02bc55531754 /noncore | |
parent | 4b77aaa27305f0ec120aa6ec4d860f62b7fa7a3f (diff) | |
download | opie-15d4d1f2fc8b37d30694acc5765a822718af6c13.zip opie-15d4d1f2fc8b37d30694acc5765a822718af6c13.tar.gz opie-15d4d1f2fc8b37d30694acc5765a822718af6c13.tar.bz2 |
- fixed a minor memory leak
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index ac52b07..2df7f27 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp | |||
@@ -800,15 +800,14 @@ void PlayListWidget::writeCurrentM3u() { | |||
800 | m3uList->add( d->selectedFiles->current()->file() ); | 800 | m3uList->add( d->selectedFiles->current()->file() ); |
801 | } | 801 | } |
802 | while ( d->selectedFiles->next() ); | 802 | while ( d->selectedFiles->next() ); |
803 | // qDebug( "<<<<<<<<<<<<>>>>>>>>>>>>>>>>>" ); | 803 | // qDebug( "<<<<<<<<<<<<>>>>>>>>>>>>>>>>>" ); |
804 | m3uList->write(); | 804 | m3uList->write(); |
805 | m3uList->close(); | 805 | m3uList->close(); |
806 | |||
807 | delete m3uList; | ||
808 | } | 806 | } |
807 | delete m3uList; | ||
809 | 808 | ||
810 | } | 809 | } |
811 | 810 | ||
812 | /* | 811 | /* |
813 | writes current playlist to m3u file */ | 812 | writes current playlist to m3u file */ |
814 | void PlayListWidget::writem3u() { | 813 | void PlayListWidget::writem3u() { |