From e925caad25e01600e61de2e909d63037dd574a6e Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Thu, 29 Jan 2015 11:40:05 +0000 Subject: Watrack: some multiply popups fix (for internet radio mainly) git-svn-id: http://svn.miranda-ng.org/main/trunk@11947 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack/srv_getinfo.pas | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/Watrack/srv_getinfo.pas b/plugins/Watrack/srv_getinfo.pas index 39ceddb39f..66c26845a4 100644 --- a/plugins/Watrack/srv_getinfo.pas +++ b/plugins/Watrack/srv_getinfo.pas @@ -402,7 +402,8 @@ begin remote:=StrPosW(dst.mfile,'://')<>nil; // if remote or ((plyLink^[0].flags and WAT_OPT_PLAYERINFO)<>0) then - oldartist:=dst.artist; oldtitle:=dst.title; + StrDupW(oldartist,dst.artist); + StrDupW(oldtitle,dst.title); ClearTrackInfo(dst); @@ -447,6 +448,9 @@ begin result:=WAT_RES_NEWFILE; end; end; + + mFreeMem(oldartist); + mFreeMem(oldtitle); end; initialization -- cgit v1.2.3