Fix memory leaks on db_error by removing hard exit.
fix incorrect parameter
Merge pull request #92 from stef145g/master

Fix memory leaks on db_error by removing hard exit.
 wxASSERT added for debug purposes
Merge pull request #93 from vomikan/master

 wxASSERT added for debug purposes