Rob Shearman : widl: Arrays should have freeing code generated on the server side, even if they are [in] parameters.
Alexandre Julliard
julliard at winehq.org
Mon Dec 10 08:54:30 CST 2007
Module: wine
Branch: master
Commit: e6f23296762be53bf184d5a0f3d64c3b0bb8d421
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e6f23296762be53bf184d5a0f3d64c3b0bb8d421
Author: Rob Shearman <rob at codeweavers.com>
Date: Mon Dec 10 13:30:28 2007 +0000
widl: Arrays should have freeing code generated on the server side, even if they are [in] parameters.
---
tools/widl/typegen.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index ae80f93..e40ac79 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -2602,8 +2602,8 @@ static int needs_freeing(const attr_list_t *attrs, const type_t *t, int out)
|| (is_ptr(t)
&& (t->ref->type == RPC_FC_IP
|| is_ptr(t->ref))))
- || (out && (is_string_type(attrs, t)
- || is_array(t)));
+ || (out && is_string_type(attrs, t))
+ || is_array(t);
}
expr_t *get_size_is_expr(const type_t *t, const char *name)
More information about the wine-cvs
mailing list