Commit b0c5a77e authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

widl: Fix -Oicf marshalling of pointers to arrays.

parent 1931b178
...@@ -1057,13 +1057,13 @@ static unsigned char get_parameter_fc( const var_t *var, int is_return, unsigned ...@@ -1057,13 +1057,13 @@ static unsigned char get_parameter_fc( const var_t *var, int is_return, unsigned
case TGT_UNION: case TGT_UNION:
case TGT_USER_TYPE: case TGT_USER_TYPE:
case TGT_RANGE: case TGT_RANGE:
case TGT_ARRAY:
*flags |= IsSimpleRef | MustFree; *flags |= IsSimpleRef | MustFree;
*typestring_offset = ref->typestring_offset; *typestring_offset = ref->typestring_offset;
if (!is_in && is_out) server_size = type_memsize( ref ); if (!is_in && is_out) server_size = type_memsize( ref );
break; break;
case TGT_STRING: case TGT_STRING:
case TGT_POINTER: case TGT_POINTER:
case TGT_ARRAY:
case TGT_CTXT_HANDLE: case TGT_CTXT_HANDLE:
case TGT_CTXT_HANDLE_POINTER: case TGT_CTXT_HANDLE_POINTER:
*flags |= MustFree; *flags |= MustFree;
......
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