summaryrefslogtreecommitdiff
path: root/src/map/channel.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-08-28 02:45:20 +0200
committerHaru <haru@dotalux.com>2015-09-08 10:28:09 +0200
commit860f4eb744af463dd4a0e7d11e7882973ccf1e44 (patch)
tree504474d504267378c41032fec51f3ee148e36edd /src/map/channel.c
parent1cfcb9df15419adf67353098c1c69b61f5c93baf (diff)
downloadhercules-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/channel.c')
-rw-r--r--src/map/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/channel.c b/src/map/channel.c
index 337d05504..6e15d072e 100644
--- a/src/map/channel.c
+++ b/src/map/channel.c
@@ -770,8 +770,8 @@ void read_channels_config(void)
}
ShowStatus("Done reading '"CL_WHITE"%d"CL_RESET"' channels in '"CL_WHITE"%s"CL_RESET"'.\n", db_size(channel->db), config_filename);
- libconfig->destroy(&channels_conf);
}
+ libconfig->destroy(&channels_conf);
}
/*==========================================