From 1036dd5779ecfb6496f36bdf4892a9d908f5488f Mon Sep 17 00:00:00 2001 From: Alexander Gluzsky Date: Tue, 11 Nov 2014 08:46:02 +0000 Subject: watrack_mpd: fixed memory allocation git-svn-id: http://svn.miranda-ng.org/main/trunk@10951 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack_MPD/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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]; -- cgit v1.2.3