提交 ff0ee265 authored 作者: Giovanni Maruzzelli's avatar Giovanni Maruzzelli

skypiax: Visual C: correcting a typo, was causing 'argument 1' might be '0':…

skypiax: Visual C: correcting a typo, was causing 'argument 1' might be '0': this does not adhere to the specification for the function 'CloseHandle'

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12504 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 292ac2ae
......@@ -1051,7 +1051,7 @@ int win32_Initialize_CreateWindowClass(private_t * tech_pvt)
}
}
if (fReturnStatus == 0)
CloseHandle(tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle),
CloseHandle(tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle);
tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle = NULL;
return (fReturnStatus);
}
......@@ -1060,7 +1060,7 @@ void win32_DeInitialize_DestroyWindowClass(private_t * tech_pvt)
{
UnregisterClass(tech_pvt->SkypiaxHandles.win32_acInit_WindowClassName,
tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle);
CloseHandle(tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle),
CloseHandle(tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle);
tech_pvt->SkypiaxHandles.win32_hInit_ProcessHandle = NULL;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论