Commit 0afbcee9 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

widl: Mark unions, user types, and ranges as IsSimpleRef.

This fixes a regression introduced by 02976b65. That patch should only have affected arrays. Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent c13351c0
......@@ -1064,7 +1064,8 @@ static unsigned char get_parameter_fc( const var_t *var, int is_return, unsigned
case TGT_UNION:
case TGT_USER_TYPE:
case TGT_RANGE:
*flags |= MustFree;
*flags |= MustFree | IsSimpleRef;
*typestring_offset = ref->typestring_offset;
if (!is_in && is_out) server_size = type_memsize( ref );
break;
case TGT_ARRAY:
......
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