summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2014-11-11 08:46:02 +0000
committerAlexander Gluzsky <sss123next@list.ru>2014-11-11 08:46:02 +0000
commit1036dd5779ecfb6496f36bdf4892a9d908f5488f (patch)
treea45acedb1bc3b6e271e6ed30be428d9d53216fe3 /plugins
parent6c1a5d616e83a6ca20479255ccc272abac586011 (diff)
watrack_mpd:
fixed memory allocation git-svn-id: http://svn.miranda-ng.org/main/trunk@10951 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/Watrack_MPD/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Watrack_MPD/src/main.cpp b/plugins/Watrack_MPD/src/main.cpp
index 13ca0b6396..2e0941a51f 100755
--- a/plugins/Watrack_MPD/src/main.cpp
+++ b/plugins/Watrack_MPD/src/main.cpp
@@ -177,7 +177,7 @@ int Parser()
SongInfo.artist = (TCHAR*)mir_utf8decodeW(tmp);
}
else
- SongInfo.artist = _T("Unknown artist");
+ SongInfo.artist = mir_tstrdup(_T("Unknown artist"));
if(ptr = strstr(buf, "Genre:"))
{
ptr = &ptr[7];