projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d46c92b
)
- fixed memory leak
author
Ryan Flegel
<rflegel@gmail.com>
Wed, 9 Jun 2004 19:56:00 +0000
(19:56 +0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Wed, 9 Jun 2004 19:56:00 +0000
(19:56 +0000)
SVN-Revision: 1459
src/level.cpp
patch
|
blob
|
history
diff --git
a/src/level.cpp
b/src/level.cpp
index
dbd3b30
..
b2748d9
100644
(file)
--- a/
src/level.cpp
+++ b/
src/level.cpp
@@
-235,6
+235,7
@@
Level::load(const std::string& filename)
level->read_int("version", version);
if(version == 1) {
load_old_format(*level);
+ delete level;
return;
}