[ wxwindows-Bugs-1678019 ] wxMediaCtrl memory leak
(wxActiveXContainer)
SourceForge.net
noreply at sourceforge.net
Sun Dec 30 14:28:41 PST 2007
Bugs item #1678019, was opened at 2007-03-10 20:50
Message generated for change (Settings changed) made by vadz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1678019&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMSW specific
Group: None
Status: Open
Resolution: None
>Priority: 6
Private: No
Submitted By: troelsk (troelsk)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxMediaCtrl memory leak (wxActiveXContainer)
Initial Comment:
wxMediaCtrl leaks memory as can be seen in samples/mediaplayer, 80 bytes per instantiation.
It turns out that the leaks comes from wxActiveXContainer, msw/ole/activex.cpp ln 851:
FrameSite *frame = new FrameSite(m_realparent, this);
The new is unbalanced. The dtor is never called. And I cannot not see where delete should go.
Using wxMSW 2.8.2-RC1 on WinXP
{2073} normal block at 0x0102D4D0, 80 bytes long.
Data: < $ > 80 B9 01 10 24 B9 01 10 D8 B8 01 10 A8 B8 01 10
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1678019&group_id=9863
More information about the wx-dev
mailing list