projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8831703
)
Fix double free bug when server is shut down
author
Craig Robbins
<kde.psych@gmail.com>
Sat, 15 Nov 2014 12:33:52 +0000
(22:33 +1000)
committer
Craig Robbins
<kde.psych@gmail.com>
Sat, 15 Nov 2014 12:33:52 +0000
(22:33 +1000)
Thanks @oleastre
src/mapgen.h
patch
|
blob
|
history
diff --git
a/src/mapgen.h
b/src/mapgen.h
index cfecb3206ac56d4fd772085fde5fde0da23a6855..cf2120a7a2843f98398b7effc213feee79b1cae3 100644
(file)
--- a/
src/mapgen.h
+++ b/
src/mapgen.h
@@
-136,6
+136,7
@@
struct MapgenFactory {
class GenElement {
public:
+ virtual ~GenElement() {}
u32 id;
std::string name;
};