Module: wine Branch: refs/heads/master Commit: f431353058b0f4a68f3493776f751e5a5b125137 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f431353058b0f4a68f349377... Author: Robert Shearman <rob(a)codeweavers.com> Date: Thu Jan 12 11:53:32 2006 +0100 ole: Fix crash in RpcChannelBuffer_SendReceive. Initialise apt to NULL since ipid_to_apt_stubbuffer no longer does this for us. --- dlls/ole32/rpc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ole32/rpc.c b/dlls/ole32/rpc.c index 31ef77c..58a3272 100644 --- a/dlls/ole32/rpc.c +++ b/dlls/ole32/rpc.c @@ -227,7 +227,7 @@ static HRESULT WINAPI RpcChannelBuffer_S DWORD index; struct dispatch_params *params; DWORD tid; - APARTMENT *apt; + APARTMENT *apt = NULL; IPID ipid; TRACE("(%p) iMethod=%ld\n", olemsg, olemsg->iMethod);