projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76676f8
)
fixed memory leak
author
Holger Schemel
<info@artsoft.org>
Tue, 15 Jan 2019 21:49:00 +0000
(22:49 +0100)
committer
Holger Schemel
<info@artsoft.org>
Tue, 15 Jan 2019 21:49:00 +0000
(22:49 +0100)
src/libgame/setup.c
patch
|
blob
|
history
diff --git
a/src/libgame/setup.c
b/src/libgame/setup.c
index 4d1a8fd02c6d017b4f2d5f36838e8690d03ef551..85f6e1f088c6e5f6bd1e3e7e2296f814557002b7 100644
(file)
--- a/
src/libgame/setup.c
+++ b/
src/libgame/setup.c
@@
-4336,6
+4336,8
@@
static void checkSeriesInfo(void)
DirectoryEntry *dir_entry;
#endif
+ checked_free(level_directory);
+
// check for more levels besides the 'levels' field of 'levelinfo.conf'
level_directory = getPath2((leveldir_current->in_user_dir ?