Bugs item #2858530, was opened at 2009-09-14 11:38
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2858530&group_id=51305

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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: wxsqlite3: wrong operator=

Initial Comment:
1. wxSQLite3Database::operator=(const wxSQLite3Database& db) has resource leak. 
You must close m_db before assigning new value to one.
2.All operator=() do not perform self-assigning check, for example:

wxSQLite3Database& wxSQLite3Database::operator=(const wxSQLite3Database& db)
{
      if ( this == &db) { // ADD THIS CHECK FOR EVERY operator=
         return *this;
      }






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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=2858530&group_id=51305

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to