widl: Fix the conditions under which array freeing code is output.
authorRob Shearman <rob@codeweavers.com>
Mon, 7 Jan 2008 10:17:32 +0000 (10:17 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Jan 2008 11:37:08 +0000 (12:37 +0100)
commite998892a23d8923feb3adc1523ec21a8d2c13540
tree0ce558b89b329d426316a8f3ef62754722261d89
parent327534f6ef320e943259ccf70a0fa8eed52d8a08
widl: Fix the conditions under which array freeing code is output.

It doesn't matter whether or not the array is declared as a pointer or
is declared using array subscripts - the array is still allocated by the
unmarshalling function and so needs to be freed.

Fix a typo that caused varying arrays never to be freed.

Fix another typo with the check for conformant arrays being performed
twice, redundantly.
tools/widl/typegen.c