mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 18:04:51 +00:00
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:
parent
1931b17868
commit
b0c5a77e26
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue