MantisBT - VCMI
View Issue Details
0000854VCMIMechanics - Adventure Mappublic2012-02-08 10:562013-08-29 17:44
zjarek 
 
normalmajoralways
closedfixed 
LinuxMint11
 
 
0000854: Crash on exit, double free or corruption r2527
While exiting after having at least one game started there is unnecessary deletition of CMapInfo member pointers, caused by lack of copy-ctors and usage of vectors. I don't have patch, because I don't know this code structure, but I will upload after cleanup private copy-ctors and operator= for every class with non-trivial destructors, it identified one bug already.
Exit game.
No tags attached.
Issue History
2012-02-08 10:56zjarekNew Issue
2012-02-08 11:05zjarekNote Added: 0002167
2013-08-29 17:44IvanNote Added: 0003903
2013-08-29 17:44IvanStatusnew => closed
2013-08-29 17:44IvanResolutionopen => fixed

Notes
(0002167)
zjarek   
2012-02-08 11:05   
It is "fixed" by removing delete mapheader; and delete campaignheader; from CMapInfo destructor.
(0003903)
Ivan   
2013-08-29 17:44   
Already fixed by using unique_ptr, closing.