diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-11-12 17:51:49 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-11-12 17:51:49 +0000 |
| commit | 711b206b832e075e52c5da73f6b21c8369b23ac4 (patch) | |
| tree | 8062e19e255a195eb696aa9410996018c44f4614 | |
| parent | aed0a2ffd85deeaafc9cbb47a5becc674d5a2b24 (diff) | |
| download | qmmp-711b206b832e075e52c5da73f6b21c8369b23ac4.tar.gz qmmp-711b206b832e075e52c5da73f6b21c8369b23ac4.tar.bz2 qmmp-711b206b832e075e52c5da73f6b21c8369b23ac4.zip | |
fixed segmentation fault
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1985 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/qmmpui/playlistitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmmpui/playlistitem.cpp b/src/qmmpui/playlistitem.cpp index bdfec7bb0..49f3bcce8 100644 --- a/src/qmmpui/playlistitem.cpp +++ b/src/qmmpui/playlistitem.cpp @@ -37,9 +37,9 @@ PlayListItem::PlayListItem(const PlayListItem &other) : QMap<Qmmp::MetaData, QSt { m_title = other.m_title; if (other.m_info) - { m_info = new FileInfo(*(other.m_info)); - } + else + m_info = 0; m_selected = other.m_selected; m_current = other.m_current; m_length = other.m_length; |
