ole32: Release the proxy buffer object on the last release of the proxy's outer unknown.
commit875390110f55dfba2b2819b141cf1701e2302dce
authorRobert Shearman <rob@codeweavers.com>
Mon, 22 May 2006 21:17:13 +0000 (22 22:17 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 23 May 2006 10:05:01 +0000 (23 12:05 +0200)
tree81374e19af3947e22136eb7dfd617729807bd72f
parentd4245634ca3230b0b8f93a6fa0a85c8f165f90e6
ole32: Release the proxy buffer object on the last release of the proxy's outer unknown.

Release the proxy buffer object on the last release of the proxy's outer
unknown, otherwise memory is leaked for the Ndr implementation of
IRpcProxyBuffer.

Fix up the hand-coded proxies to match the behaviour from the Ndr
implementation.
dlls/ole32/marshal.c
dlls/ole32/oleproxy.c