widl: Fix -Oicf marshalling of pointers to arrays.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2018-10-10 16:19:23 -05:00 committed by Alexandre Julliard
parent 1931b17868
commit b0c5a77e26

View file

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