Fix the fact that global_variables 1) weren't being updated on reload (thanks for...
authorTerry Wilson <twilson@digium.com>
Fri, 11 Apr 2008 21:04:46 +0000 (21:04 +0000)
committerTerry Wilson <twilson@digium.com>
Fri, 11 Apr 2008 21:04:46 +0000 (21:04 +0000)
commite276ccea11ce68ae151a2de5ab364f1343008a52
tree2b0a4ae8d2cbd1e9b4694cd5055ceb22e8c76836
parente409a129af8da2d68d2a51c2b8131405b99cb01d
Fix the fact that global_variables 1) weren't being updated on reload (thanks for the report, Doug), and 2) weren't actually being appended to the list of profile variables because build_profile was called before the list was populated. Also needed to free the contents returned by load_file().

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_phoneprov.c