From 860f4eb744af463dd4a0e7d11e7882973ccf1e44 Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 28 Aug 2015 02:45:20 +0200 Subject: Fixed some memory leaks in code using libconfig - Special thanks to Dastgir Signed-off-by: Haru --- src/map/battleground.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/battleground.c') 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; -- cgit v1.2.3-60-g2f50