Module: wine
Branch: refs/heads/master
Commit: 8d36337644598f969f9bd58eed1260a82515356f
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8d36337644598f969f9bd58…
Author: Robert Shearman <rob(a)codeweavers.com>
Date: Thu Apr 20 11:45:16 2006 +0100
rpcrt4: Free all pointers by default, except for conformant strings.
Free all pointers by default, except for conformant strings.
Conformant arrays should always be freed.
Add FC_CVARRAY to list of known types to avoid a FIXME.
---
dlls/rpcrt4/ndr_marshall.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index b890499..4868723 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -909,10 +909,12 @@ void WINAPI PointerFree(PMIDL_STUB_MESSA
case RPC_FC_BOGUS_STRUCT:
case RPC_FC_BOGUS_ARRAY:
case RPC_FC_USER_MARSHAL:
+ case RPC_FC_CARRAY:
+ case RPC_FC_CVARRAY:
break;
default:
FIXME("unhandled data type=%02x\n", *desc);
- case RPC_FC_CARRAY:
+ break;
case RPC_FC_C_CSTRING:
case RPC_FC_C_WSTRING:
if (pStubMsg->ReuseBuffer) goto notfree;
Module: wine
Branch: refs/heads/master
Commit: a674ec0fdaf778aa1dca2f620b355e625a08efa4
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=a674ec0fdaf778aa1dca2f6…
Author: Robert Shearman <rob(a)codeweavers.com>
Date: Thu Apr 20 11:42:03 2006 +0100
rpcrt4: Fix the MSVC version of call_server_func.
Fix the MSVC version of call_server_func to pop the registers in the
same order they were pushed.
---
dlls/rpcrt4/ndr_stubless.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index ec31fda..00132e5 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -936,9 +936,9 @@ __declspec(naked) LONG_PTR __cdecl call_
rep movsd ; Copy dword blocks
call [ebp+8] ; Call function
lea esp, [ebp-8] ; Restore stack
- pop ebp ; Restore registers
- pop esi
+ pop esi ; Restore registers
pop edi
+ pop ebp
ret
}
}