ole32: Allocate memory for the generic composite moniker in CompositeMonikerImpl_Construct.

Robert Shearman rob at codeweavers.com
Mon May 8 06:40:52 CDT 2006


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 |   31 +++++++++++++------------------
  1 files changed, 13 insertions(+), 18 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: f05840d3db4e1e5d873b701ea46980512c496d51.diff
Type: text/x-patch
Size: 2459 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060508/d8249825/f05840d3db4e1e5d873b701ea46980512c496d51.diff


More information about the wine-patches mailing list