Robert Shearman : rpcrt4: Free all pointers by default,
except for conformant strings.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Apr 20 08:45:57 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 8d36337644598f969f9bd58eed1260a82515356f
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8d36337644598f969f9bd58eed1260a82515356f
Author: Robert Shearman <rob at 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;
More information about the wine-cvs
mailing list