1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/server
Vadim Markovtsev 2c1dddde33 Fix memory problems with BonusList
Bonus * -> std::shared_ptr<Bonus>

This cures the following problems:

1) Memory corruption at exit. Some Bonus-es were deleted twice (mods?).
2) Memory leaks. Some Bonuses were not deleted.
3) Reduce the number of "Orphaned child" messages.

Valgrind reports 0 leaked memory now and no invalid reads/writes.
2016-09-29 15:08:00 +02:00
..
CGameHandler.cpp Fix memory problems with BonusList 2016-09-29 15:08:00 +02:00
CGameHandler.h Refactoring: only use RNGs explicitly to avoid bug prone code in future 2016-09-11 00:10:46 +03:00
CMakeLists.txt Draft boost::format based log proxy. 2016-08-13 16:57:09 +03:00
CQuery.cpp Cleanup 2016-09-22 21:35:37 +03:00
CQuery.h Refactoring: always use std prefix for shared_ptr, unique_ptr and make_shared 2015-12-29 05:43:33 +03:00
CVCMIServer.cpp CVCMIServer: do not crash if port not specified 2016-09-16 20:01:07 +03:00
CVCMIServer.h Rename radious -> radius 2016-01-31 18:01:58 +03:00
NetPacksServer.cpp Server: convert logging 2016-08-30 01:13:07 +03:00
StdInc.cpp Rename radious -> radius 2016-01-31 18:01:58 +03:00
StdInc.h Fix pthread_mutex_lock abort() in requestActionASAP impl 2015-10-31 18:04:06 +03:00
VCMI_server.cbp Merge pull request #203 from vcmi/logFormat 2016-08-29 17:32:44 +04:00
VCMI_server.vcxproj Migrating to MSVS 2013, which allows to delete inttypes.h file. 2014-08-31 19:08:39 +02:00