Ensure global types in the config framework are initialized
authorKinsey Moore <kmoore@digium.com>
Fri, 20 Sep 2013 22:44:11 +0000 (22:44 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 20 Sep 2013 22:44:11 +0000 (22:44 +0000)
commit6cc3084ae7bc927587865c1e3331fcc5031df9e7
treed1837f4c351607c24b4cdae69d8363bbe6f6a95a
parent638577bef707f9c4964ea672aafe95d5d4509df3
Ensure global types in the config framework are initialized

If a config object was allocated but one of its global objects was
never encountered, then the global object's defaults were never
applied. Ensure that global objects are initialized properly upon
allocation instead of on configuration.

Review: https://reviewboard.asterisk.org/r/2866/
........

Merged revisions 399564 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 399565 from http://svn.asterisk.org/svn/asterisk/branches/12

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