diff options
author | Alexey Kulakov <panda75@bk.ru> | 2015-01-29 11:40:05 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2015-01-29 11:40:05 +0000 |
commit | e925caad25e01600e61de2e909d63037dd574a6e (patch) | |
tree | 1aed9b0e1102254640537237e61eee3b31ab9a0d /plugins/Watrack | |
parent | 02c296e24fb15bddfa3a2cb8360701d6aa0c0b83 (diff) |
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
Diffstat (limited to 'plugins/Watrack')
-rw-r--r-- | plugins/Watrack/srv_getinfo.pas | 6 |
1 files changed, 5 insertions, 1 deletions
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
|