Skip to content
Permalink
Browse files

Fix double free bug when server is shut down

Thanks @oleastre
  • Loading branch information
Zeno- committed Nov 15, 2014
1 parent 8831703 commit f0a8f655c0d547f3804207d40a2f1a7e05b4c5c8
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/mapgen.h
@@ -136,6 +136,7 @@ struct MapgenFactory {

class GenElement {
public:
virtual ~GenElement() {}
u32 id;
std::string name;
};

1 comment on commit f0a8f65

@Megaf

This comment has been minimized.

Copy link
Contributor

@Megaf Megaf commented on f0a8f65 Nov 15, 2014

That was such a simple solution.

Please sign in to comment.
You can’t perform that action at this time.