diff options
author | Haru <haru@dotalux.com> | 2015-08-28 02:45:20 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-09-08 10:28:09 +0200 |
commit | 860f4eb744af463dd4a0e7d11e7882973ccf1e44 (patch) | |
tree | 504474d504267378c41032fec51f3ee148e36edd /src/map/battleground.c | |
parent | 1cfcb9df15419adf67353098c1c69b61f5c93baf (diff) | |
download | hercules-860f4eb744af463dd4a0e7d11e7882973ccf1e44.tar.gz hercules-860f4eb744af463dd4a0e7d11e7882973ccf1e44.tar.bz2 hercules-860f4eb744af463dd4a0e7d11e7882973ccf1e44.tar.xz hercules-860f4eb744af463dd4a0e7d11e7882973ccf1e44.zip |
Fixed some memory leaks in code using libconfig
- Special thanks to Dastgir
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/battleground.c')
-rw-r--r-- | src/map/battleground.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battleground.c b/src/map/battleground.c index 915ccc851..19360cd97 100644 --- a/src/map/battleground.c +++ b/src/map/battleground.c @@ -457,8 +457,8 @@ void bg_config_read(void) { } bg->arenas = arena_count; } - libconfig->destroy(&bg_conf); } + libconfig->destroy(&bg_conf); } struct bg_arena *bg_name2arena (char *name) { int i; |