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.
This commit is contained in:
parent
b36d5fa11f
commit
8d36337644
|
@ -909,10 +909,12 @@ void WINAPI PointerFree(PMIDL_STUB_MESSAGE pStubMsg,
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue