From 1ef0329818e7ae30435f4c94d21862c7750f5601 Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Fri, 28 Mar 2014 20:15:45 +0000 Subject: Miranda API update Watrack: LastFM dialog crash fix git-svn-id: http://svn.miranda-ng.org/main/trunk@8780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/delphi/m_toptoolbar.inc | 8 ++++---- plugins/Watrack/lastfm/i_last_api.inc | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'plugins') diff --git a/plugins/ExternalAPI/delphi/m_toptoolbar.inc b/plugins/ExternalAPI/delphi/m_toptoolbar.inc index 5956b10ea7..1e2e603b9c 100644 --- a/plugins/ExternalAPI/delphi/m_toptoolbar.inc +++ b/plugins/ExternalAPI/delphi/m_toptoolbar.inc @@ -151,12 +151,12 @@ type nButtonWidth :int; nButtonHeight:int; nButtonSpace :int; - nLastHeight :int; // fix against recursion in WM_SIZE - bOrderChanged:boolean; // set by buttons' arrange procedure if the buttons' order was changed + nLastHeight :int; // fix against recursion in WM_SIZE + bOrderChanged:bool; // set by buttons' arrange procedure if the buttons' order was changed bFlatButtons, bAutoSize, - bSingleLine :boolean; - bHardUpdate :boolean; // clist modern requires to delete buttons to update them + bSingleLine :bool; + bHardUpdate :bool; // clist modern requires to delete buttons to update them pButtonList :PSortedList; end; diff --git a/plugins/Watrack/lastfm/i_last_api.inc b/plugins/Watrack/lastfm/i_last_api.inc index ec42acfeeb..f09b93441b 100644 --- a/plugins/Watrack/lastfm/i_last_api.inc +++ b/plugins/Watrack/lastfm/i_last_api.inc @@ -370,7 +370,6 @@ begin pcw:=#0; StrDupW(data.tags,pWideChar(@request)); DestroyNode(root); - mFreeMem(pcw); end; end; end; @@ -479,7 +478,6 @@ begin StrDupW(data.tags,pWideChar(@request)); DestroyNode(root); - mFreeMem(pcw); end; end; end; @@ -593,7 +591,6 @@ begin StrDupW(data.tags,pWideChar(@request)); DestroyNode(root); - mFreeMem(pcw); end; end; end; -- cgit v1.2.3