Commit 481c408a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

widl: Only mark simple [out] pointers as on-stack if they are [ref] pointers.

parent 0e795d53
......@@ -2145,7 +2145,7 @@ static unsigned int write_simple_pointer(FILE *file, const attr_list_t *attrs,
else
fc = get_basic_fc(ref);
if (out_attr && !in_attr)
if (out_attr && !in_attr && pointer_fc == FC_RP)
flags |= FC_ALLOCED_ON_STACK;
print_file(file, 2, "0x%02x, 0x%x,\t/* %s %s[simple_pointer] */\n",
......
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