rpcrt4: Don't raise an exception if there is no freer function - not all types have a freer.
This commit is contained in:
parent
21673d03f9
commit
e3df112a39
|
@ -89,11 +89,6 @@ static inline void call_freer(PMIDL_STUB_MESSAGE pStubMsg, unsigned char *pMemor
|
||||||
{
|
{
|
||||||
NDR_FREE m = NdrFreer[pFormat[0] & NDR_TABLE_MASK];
|
NDR_FREE m = NdrFreer[pFormat[0] & NDR_TABLE_MASK];
|
||||||
if (m) m(pStubMsg, pMemory, pFormat);
|
if (m) m(pStubMsg, pMemory, pFormat);
|
||||||
else
|
|
||||||
{
|
|
||||||
FIXME("format type 0x%x not implemented\n", pFormat[0]);
|
|
||||||
RpcRaiseException(RPC_X_BAD_STUB_DATA);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline unsigned long call_memory_sizer(PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat)
|
static inline unsigned long call_memory_sizer(PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat)
|
||||||
|
|
Loading…
Reference in New Issue