Commit 8d363376 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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.
parent b36d5fa1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment