Fix double free bug when server is shut down

Thanks @oleastre
This commit is contained in:
Craig Robbins 2014-11-15 22:33:52 +10:00
parent 8831703428
commit f0a8f655c0
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ struct MapgenFactory {
class GenElement {
public:
virtual ~GenElement() {}
u32 id;
std::string name;
};