widl: Fix a memory leak in the server/stub code when unmarshalling pointers to string...
authorRob Shearman <robertshearman@gmail.com>
Sat, 7 Mar 2009 23:23:54 +0000 (23:23 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 9 Mar 2009 11:13:53 +0000 (12:13 +0100)
commit630b48941f1b8e1be2f4c96acc39232786d71892
tree98757853512321e480add47d5d2d6504a4743603
parentf170f9b5d517f7c4da1949e7c5f230f10bb931f4
widl: Fix a memory leak in the server/stub code when unmarshalling pointers to strings at the top level.

It is necessary for the first pointer to have an offset to a second
pointer instead of directly to the string type, since the second
pointer frees the memory for the string.
tools/widl/typegen.c