summaryrefslogtreecommitdiff
path: root/plugins/mRadio/i_search.inc
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-06 18:58:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-06 18:58:49 +0000
commit665ab2181d58fa5c82f598c1188408f8711b1f0d (patch)
tree4c362903878a19ec9aaf32bc92a3516a17564b52 /plugins/mRadio/i_search.inc
parent7fc9837e1f9bbd0f0687fea96cda8dfbf4c1932b (diff)
mir_forkthead doesn't return a closeable thread handle, no need to call CreateThread to close it
git-svn-id: http://svn.miranda-ng.org/main/trunk@3907 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mRadio/i_search.inc')
-rw-r--r--plugins/mRadio/i_search.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mRadio/i_search.inc b/plugins/mRadio/i_search.inc
index ffd0b8b6de..bcbe6662a7 100644
--- a/plugins/mRadio/i_search.inc
+++ b/plugins/mRadio/i_search.inc
@@ -182,7 +182,7 @@ begin
else
begin
result:=AckHandle;
- CloseHandle(mir_forkthread(@BasicSearch,StrDup(PAnsiChar(lParam),PAnsiChar(lParam))));
+ mir_forkthread(@BasicSearch,StrDup(PAnsiChar(lParam),PAnsiChar(lParam)));
end;
end;
@@ -193,7 +193,7 @@ begin
else
begin
result:=AckHandle;
- CloseHandle(mir_forkthread(@ExtSearch,pointer(lParam)));
+ mir_forkthread(@ExtSearch,pointer(lParam));
end;
end;