Bugs item #3367118, was opened at 2011-07-14 14:24
Message generated for change (Tracker Item Submitted) made by pupkinzon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102915&aid=3367118&group_id=2915

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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Vsevolod (pupkinzon)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxPLDevGC driver memory leak

Initial Comment:
Where: void wxPLDevGC::CreateCanvas(), which is called on each PLESC_RESIZE, 
m_context is always allocated, without freeing previously allocated one.

I'd suggest the following fix:
        if ( m_dc )
        {
                wxDELETE(m_context);
                m_context = wxGraphicsContext::Create( *( (wxMemoryDC*) m_dc ) 
);
        }

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102915&aid=3367118&group_id=2915

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to