widl: Always write a freeing function for arrays in generated code.
commit701a25c4b2b208e43a059b4ff8092972ab4b3c0f
authorRob Shearman <rob@codeweavers.com>
Mon, 10 Dec 2007 13:30:23 +0000 (10 13:30 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 10 Dec 2007 13:40:07 +0000 (10 14:40 +0100)
tree610612287fcce513cfdb2b0b961f893e702bdf13
parent7ec06c8442c151a97688b35e0a8012ce5dd8b6de
widl: Always write a freeing function for arrays in generated code.

Fix the conditions under which pfnFree is called to only include arrays
that will have been allocated, instead of being pointed to the buffer.
tools/widl/typegen.c