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

This fixes a regression introduced by 02976b655a.
That patch should only have affected arrays.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Zebediah Figura 2019-06-13 17:49:34 -05:00 committed by Alexandre Julliard
parent c13351c05a
commit 0afbcee924
1 changed files with 2 additions and 1 deletions

View File

@ -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: