Commit e6f23296 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

widl: Arrays should have freeing code generated on the server side, even if they…

widl: Arrays should have freeing code generated on the server side, even if they are [in] parameters.
parent 701a25c4
...@@ -2602,8 +2602,8 @@ static int needs_freeing(const attr_list_t *attrs, const type_t *t, int out) ...@@ -2602,8 +2602,8 @@ static int needs_freeing(const attr_list_t *attrs, const type_t *t, int out)
|| (is_ptr(t) || (is_ptr(t)
&& (t->ref->type == RPC_FC_IP && (t->ref->type == RPC_FC_IP
|| is_ptr(t->ref)))) || is_ptr(t->ref))))
|| (out && (is_string_type(attrs, t) || (out && is_string_type(attrs, t))
|| is_array(t))); || is_array(t);
} }
expr_t *get_size_is_expr(const type_t *t, const char *name) expr_t *get_size_is_expr(const type_t *t, const char *name)
......
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