Fix memory leak in features_config.c
authorMark Michelson <mmichelson@digium.com>
Thu, 13 Jun 2013 18:17:13 +0000 (18:17 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 13 Jun 2013 18:17:13 +0000 (18:17 +0000)
commit49949ac5a90d29ef23dc7fe46d802f1c08546352
tree92955a28cded12e6bac3708bea0bdee1f360ba21
parent1cb25deeba899dc1e4a2c51ba5934cc258b5c91f
Fix memory leak in features_config.c

The options should not be registered multiple times. Instead, the configuration just needs
to be reprocessed by the config framework. This also exposed that we were not properly telling
the config framework to treat the configuration processing with the "reload" semantics when
a reload occurred. Both of these errors are fixed now.

Thanks to Richard Mudgett for discovering the leak.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/features_config.c