Michael Cook (mackal)
c6d5864aa9
Port SpawnGroup stuff to unique_ptr to fix leak
This was leaking on #repop, unsure of other cases, smart pointers should
cover us though.
Direct leak of 3600 byte(s) in 18 object(s) allocated from:
#0 0x7f2b3dbe0d30 in operator new(unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0xead30)
#1 0x5645dc7c9dff in ZoneDatabase::LoadSpawnGroups(char const*, unsigned short, SpawnGroupList*) ../zone/spawngroup.cpp:241
#2 0x5645dc9db3f5 in Zone::Depop(bool) ../zone/zone.cpp:1746
#3 0x5645dca1ba6b in Zone::Repop(unsigned int) ../zone/zone.cpp:1777
#4 0x5645db4624b7 in command_repop(Client*, Seperator const*) ../zone/command.cpp:5683
Indirect leak of 6552 byte(s) in 273 object(s) allocated from:
#0 0x7f26f2ff8d30 in operator new(unsigned long) (/lib/x86_64-linux-gnu/libasan.so.5+0xead30)
#1 0x558d00490bc6 in __gnu_cxx::new_allocator<std::_List_node<SpawnEntry*> >::allocate(unsigned long, void const*) /usr/include/c++/8/ext/new_allocator.h:111
#2 0x558d00490bc6 in std::allocator_traits<std::allocator<std::_List_node<SpawnEntry*> > >::allocate(std::allocator<std::_List_node<SpawnEntry*> >&, unsigned long) /usr/include/c++/8/bits/alloc_traits.h:436
#3 0x558d00490bc6 in std::__cxx11::_List_base<SpawnEntry*, std::allocator<SpawnEntry*> >::_M_get_node() /usr/include/c++/8/bits/stl_list.h:450
#4 0x558d00490bc6 in std::_List_node<SpawnEntry*>* std::__cxx11::list<SpawnEntry*, std::allocator<SpawnEntry*> >::_M_create_node<SpawnEntry* const&>(SpawnEntry* const&) /usr/include/c++/8/bits/stl_list.h:642
#5 0x558d00490bc6 in void std::__cxx11::list<SpawnEntry*, std::allocator<SpawnEntry*> >::_M_insert<SpawnEntry* const&>(std::_List_iterator<SpawnEntry*>, SpawnEntry* const&) /usr/include/c++/8/bits/stl_list.h:1903
#6 0x558d00490bc6 in std::__cxx11::list<SpawnEntry*, std::allocator<SpawnEntry*> >::push_back(SpawnEntry* const&) /usr/include/c++/8/bits/stl_list.h:1220
#7 0x558d00490bc6 in SpawnGroup::AddSpawnEntry(SpawnEntry*) ../zone/spawngroup.cpp:122
#8 0x558d00490bc6 in ZoneDatabase::LoadSpawnGroups(char const*, unsigned short, SpawnGroupList*) ../zone/spawngroup.cpp:291
#9 0x558d006a1465 in Zone::Depop(bool) ../zone/zone.cpp:1746
#10 0x558d006e1adb in Zone::Repop(unsigned int) ../zone/zone.cpp:1777
2021-03-02 12:39:04 -05:00
..
2015-06-12 02:56:51 -07:00
2020-02-06 14:20:18 -05:00
2015-06-09 22:46:53 -07:00
2015-06-20 19:44:00 -07:00
2021-02-05 14:17:13 -05:00
2017-03-28 02:30:06 -05:00
2021-01-23 21:36:07 -05:00
2017-02-18 22:27:34 -05:00
2017-02-18 22:27:34 -05:00
2020-04-19 04:36:39 -05:00
2019-05-16 00:12:21 -07:00
2021-01-23 21:36:07 -05:00
2020-03-12 00:00:39 -05:00
2020-01-19 21:57:28 -06:00
2020-05-17 18:36:06 -07:00
2020-05-17 18:36:06 -07:00
2020-05-17 18:36:06 -07:00
2021-02-07 15:00:16 -06:00
2019-12-10 02:02:42 -05:00
2020-05-23 22:33:34 -05:00
2020-05-17 18:36:06 -07:00
2019-09-05 14:12:56 +10:00
2021-02-12 02:07:58 -06:00
2020-05-23 22:33:34 -05:00
2020-05-17 18:36:06 -07:00
2020-05-17 18:36:06 -07:00
2021-02-23 18:32:19 -06:00
2020-12-30 18:47:06 -05:00
2021-02-23 18:32:19 -06:00
2021-02-23 18:30:46 -06:00
2021-02-07 18:09:49 -06:00
2021-02-12 02:42:03 -05:00
2021-02-07 15:00:16 -06:00
2021-01-04 11:44:23 -06:00
2021-01-23 21:36:07 -05:00
2021-02-23 18:30:46 -06:00
2021-01-02 19:42:18 -05:00
2021-02-08 23:06:33 -06:00
2021-02-08 23:06:33 -06:00
2020-12-30 18:47:07 -05:00
2018-12-17 01:39:37 -06:00
2021-02-23 18:30:46 -06:00
2020-12-30 18:47:32 -05:00
2021-01-23 10:23:50 -05:00
2021-02-01 21:07:07 -05:00
2021-02-23 18:32:19 -06:00
2020-05-17 18:36:06 -07:00
2021-02-01 21:07:07 -05:00
2019-10-12 21:07:06 -07:00
2020-05-17 18:36:06 -07:00
2019-10-12 21:07:06 -07:00
2020-05-17 18:36:06 -07:00
2020-05-17 18:36:06 -07:00
2021-02-23 20:50:06 -06:00
2021-02-12 02:05:20 -06:00
2020-01-06 15:41:05 -05:00
2021-02-23 11:50:38 -06:00
2021-01-21 19:02:00 -05:00
2021-01-21 19:02:00 -05:00
2020-12-30 18:47:11 -05:00
2020-12-30 18:47:33 -05:00
2020-12-30 18:47:31 -05:00
2020-12-30 18:47:11 -05:00
2021-02-23 18:30:46 -06:00
2020-12-30 18:47:32 -05:00
2018-03-04 13:54:28 -05:00
2018-03-04 02:19:12 -05:00
2020-01-03 17:25:53 -06:00
2020-05-23 22:33:34 -05:00
2020-02-06 01:52:35 -05:00
2020-02-06 01:52:35 -05:00
2021-02-12 02:05:20 -06:00
2021-02-12 02:05:20 -06:00
2020-05-23 22:33:34 -05:00
2020-05-17 18:36:06 -07:00
2020-05-23 22:33:34 -05:00
2020-08-09 14:04:03 -04:00
2019-12-12 20:38:28 -05:00
2019-09-17 00:18:07 -05:00
2016-04-08 20:58:17 -04:00
2021-02-23 20:50:06 -06:00
2015-01-23 00:01:10 -08:00
2021-02-23 18:32:19 -06:00
2020-08-21 00:23:13 -05:00
2021-02-07 00:40:08 -05:00
2021-02-07 00:40:08 -05:00
2017-04-10 14:52:44 -04:00
2017-04-08 21:08:15 -04:00
2015-06-05 12:57:53 -07:00
2016-05-04 03:01:53 -04:00
2020-05-07 23:11:36 -04:00
2020-05-07 23:11:36 -04:00
2017-05-19 22:50:08 -07:00
2017-05-19 22:50:08 -07:00
2020-12-30 18:47:32 -05:00
2020-12-30 18:47:32 -05:00
2021-01-28 20:10:26 -05:00
2019-07-18 00:56:46 -04:00
2020-12-30 18:47:11 -05:00
2020-12-30 18:47:11 -05:00
2019-10-13 00:53:31 -07:00
2014-12-27 18:24:42 -06:00
2020-05-17 18:36:06 -07:00
2020-05-17 18:36:06 -07:00
2020-05-17 18:36:06 -07:00
2020-05-17 18:36:06 -07:00
2020-05-17 18:36:06 -07:00
2020-05-17 18:36:06 -07:00
2021-02-23 20:50:06 -06:00
2021-02-23 20:50:06 -06:00
2020-10-25 23:48:57 -05:00
2020-10-25 23:48:57 -05:00
2021-02-08 23:08:07 -06:00
2021-02-08 23:08:07 -06:00
2020-12-30 18:47:06 -05:00
2020-05-17 18:36:06 -07:00
2020-05-17 18:36:06 -07:00
2020-12-30 18:47:11 -05:00
2020-10-25 23:48:57 -05:00
2017-05-15 15:46:19 -07:00
2021-02-12 02:42:03 -05:00
2020-12-30 18:47:11 -05:00
2015-10-08 11:49:21 -04:00
2019-10-12 21:07:06 -07:00
2018-09-13 19:25:05 -04:00
2021-02-23 18:30:46 -06:00
2020-05-17 18:36:06 -07:00
2019-12-28 22:45:35 -06:00
2015-01-16 01:59:57 -06:00
2021-02-23 18:32:19 -06:00
2020-05-17 18:36:06 -07:00
2021-02-23 18:33:33 -06:00
2020-05-23 22:33:34 -05:00
2021-02-07 19:52:58 -06:00
2021-02-23 18:30:46 -06:00
2020-04-30 11:35:09 -04:00
2021-02-23 22:34:14 -05:00
2021-02-23 20:50:06 -06:00
2020-04-19 04:36:39 -05:00
2020-05-17 18:36:06 -07:00
2021-02-08 23:08:07 -06:00
2021-02-08 23:08:07 -06:00
2021-02-09 11:32:13 -05:00
2021-02-23 18:33:33 -06:00
2021-01-08 20:55:56 -05:00
2020-05-17 18:36:06 -07:00
2019-03-13 22:55:49 -07:00
2019-03-13 22:55:49 -07:00
2018-12-24 14:48:11 -08:00
2018-12-24 14:48:11 -08:00
2021-02-23 18:30:46 -06:00
2018-12-24 14:48:11 -08:00
2018-12-24 14:48:11 -08:00
2018-12-24 14:48:11 -08:00
2019-09-02 02:33:02 -05:00
2018-11-07 21:55:12 -08:00
2020-05-17 18:36:06 -07:00
2021-02-08 23:09:42 -06:00
2021-02-23 12:00:11 -06:00
2021-02-23 12:03:16 -06:00
2020-12-30 18:47:32 -05:00
2021-02-23 11:51:51 -06:00
2021-02-23 12:02:51 -06:00
2021-02-01 21:07:07 -05:00
2021-02-23 20:50:06 -06:00
2021-02-23 11:59:57 -06:00
2021-02-08 23:09:16 -06:00
2021-02-01 22:32:43 -05:00
2021-02-08 23:08:41 -06:00
2021-02-07 18:11:24 -06:00
2021-02-07 18:12:09 -06:00
2016-05-25 16:10:28 -04:00
2015-01-19 04:04:50 -06:00
2019-09-01 23:54:24 -05:00
2020-04-19 04:36:39 -05:00
2020-09-08 19:10:48 -04:00
2017-11-04 01:27:41 -04:00
2018-10-13 23:53:16 -07:00
2018-10-13 23:53:16 -07:00
2016-05-25 16:10:28 -04:00
2014-12-15 18:22:27 -06:00
2019-10-12 21:07:06 -07:00
2020-05-17 18:36:06 -07:00
2020-05-23 22:33:34 -05:00
2020-05-17 18:36:06 -07:00
2021-02-14 19:15:09 -05:00
2021-02-01 21:07:07 -05:00
2020-12-30 18:47:11 -05:00
2020-12-30 18:47:11 -05:00
2016-07-29 18:26:23 -04:00
2016-07-28 22:50:06 -04:00
2020-04-19 04:36:39 -05:00
2020-01-24 15:11:08 -08:00
2021-03-02 12:39:04 -05:00
2021-03-02 12:39:04 -05:00
2020-08-03 22:21:51 -05:00
2020-12-22 18:05:02 -06:00
2020-12-21 17:06:48 -06:00
2021-01-15 19:54:44 -05:00
2021-02-07 17:08:16 -06:00
2021-02-07 15:00:16 -06:00
2021-02-07 15:44:25 -06:00
2021-02-07 15:44:25 -06:00
2021-02-08 21:50:28 -06:00
2021-02-07 15:00:16 -06:00
2021-02-07 15:44:25 -06:00
2021-02-07 15:44:25 -06:00
2021-02-07 15:00:16 -06:00
2021-02-06 19:19:20 -06:00
2020-05-17 18:36:06 -07:00
2014-12-15 18:56:23 -06:00
2021-02-05 23:00:27 -06:00
2020-12-31 00:44:55 -05:00
2020-05-23 22:33:34 -05:00
2017-10-28 10:02:31 -07:00
2020-05-17 18:36:06 -07:00
2020-05-17 18:36:06 -07:00
2016-08-05 01:07:12 -04:00
2016-08-05 01:07:12 -04:00
2019-03-13 22:55:49 -07:00
2016-08-05 01:07:12 -04:00
2019-12-28 22:45:35 -06:00
2016-08-05 01:07:12 -04:00
2021-01-31 16:53:25 -08:00
2021-02-23 18:30:46 -06:00
2019-09-07 20:20:10 -05:00
2017-02-17 21:04:48 -05:00
2017-02-17 21:04:48 -05:00
2014-12-15 19:16:53 -06:00
2017-07-15 20:29:55 -07:00
2020-02-22 16:17:18 -06:00
2020-01-31 20:25:06 -06:00
2021-02-05 23:00:27 -06:00
2020-05-24 20:45:44 -05:00
2021-02-07 15:00:16 -06:00
2020-12-30 18:47:10 -05:00
2021-02-23 11:50:38 -06:00
2021-02-23 18:33:33 -06:00
2021-02-23 11:50:38 -06:00
2021-02-05 23:00:27 -06:00