aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-11-12 17:51:49 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-11-12 17:51:49 +0000
commit711b206b832e075e52c5da73f6b21c8369b23ac4 (patch)
tree8062e19e255a195eb696aa9410996018c44f4614 /src
parentaed0a2ffd85deeaafc9cbb47a5becc674d5a2b24 (diff)
downloadqmmp-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
Diffstat (limited to 'src')
-rw-r--r--src/qmmpui/playlistitem.cpp4
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;