diff options
author | Alexander Gluzsky <sss123next@list.ru> | 2014-11-11 08:46:02 +0000 |
---|---|---|
committer | Alexander Gluzsky <sss123next@list.ru> | 2014-11-11 08:46:02 +0000 |
commit | 1036dd5779ecfb6496f36bdf4892a9d908f5488f (patch) | |
tree | a45acedb1bc3b6e271e6ed30be428d9d53216fe3 /plugins | |
parent | 6c1a5d616e83a6ca20479255ccc272abac586011 (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-x | plugins/Watrack_MPD/src/main.cpp | 2 |
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]; |