jezz | Apr 10, 2010 8:40 pm |
---|---|
Subject: Some problems reported by valgrind Hi, I like original M.A.X. and I want to help with Reloaded version. I have used valgrind to check memory related problem in svn revision 2674. It reports, that mismatched free()/delete/delete[] was used. Also base class cMenu has virtual methods but it does not have virtual destructor. I have created patch for this two problems. DownloadSource code (C++):
Just wondering - why there is not used STL (e.g. std::vector instead of clist)? And std::swap can be used to swap two values without defining temporary variable (movejobs.cpp). Thank you for your great work. This game rocks ![]() |
beko | Apr 11, 2010 7:28 pm |
---|---|
Subject: Re: Some problems reported by valgrind hi jezz and thanks for your feedback. We appreciate patches a lot but the best place would be to open a ticket on our bugtracker (possible with your forum account) so we won't forget to apply the patch as well ![]() Movejobs are Eiko's baby. |
Eiko | Apr 11, 2010 8:40 pm |
---|---|
Subject: Re: Some problems reported by valgrind Patch is aplied. Thanks, Jezz. ![]() |