ole32: Allocate memory for the generic composite moniker in CompositeMonikerImpl_Cons...
commitfa8472c35afdf805d654f4801f0e1baa62c95ee6
authorRobert Shearman <rob@codeweavers.com>
Mon, 8 May 2006 11:40:52 +0000 (8 12:40 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 8 May 2006 13:42:53 +0000 (8 15:42 +0200)
treead6a324f336beed9a305e4da17c2d90864ddebce
parent9e799f2054fc924f596d69ae091b3cf386d0a5bc
ole32: Allocate memory for the generic composite moniker in CompositeMonikerImpl_Construct.

Don't leak memory in the case of newCompositeMoniker->tabLastIndex == 1,
which can't happen anyway.
Allow construction of a moniker with no sub-monikers.
dlls/ole32/compositemoniker.c