home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bfcaf6
)
Server: Remove memory leak in save_world().
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 9 Jul 2014 21:31:58 +0000
(23:31 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 9 Jul 2014 21:31:58 +0000
(23:31 +0200)
src/server/io.c
patch
|
blob
|
history
diff --git
a/src/server/io.c
b/src/server/io.c
index c1cbb3e825194f39b56f8d617a1dac401e2df1e5..761655cf9877206e30f9c0636676038f195810fd 100644
(file)
--- a/
src/server/io.c
+++ b/
src/server/io.c
@@
-349,4
+349,5
@@
extern void save_world()
}
write_key_value(file, s[S_CMD_DO_FOV], 1);
try_fclose_unlink_rename(file, path_tmp, s[S_PATH_SAVE], f_name);
+ free(path_tmp);
}