sorcery.c: Fix off-nominal path ref and memory leak in ast_sorcery_objectset_json_cre...
authorRichard Mudgett <rmudgett@digium.com>
Thu, 6 Mar 2014 23:47:16 +0000 (23:47 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 6 Mar 2014 23:47:16 +0000 (23:47 +0000)
commit4fd50a9d8127a5fb02363f4917e9110a23e57666
treeeef6d9fe2ed9d6657fad9a88694068cd821f6968
parentfbf8700c101c8e5aea7f7c5204d214cdd2478aab
sorcery.c: Fix off-nominal path ref and memory leak in ast_sorcery_objectset_json_create().

* Made exit a loop early on error in ast_sorcery_objectset_json_create().

* Removed some dead code in ast_sorcery_objectset_create2().
........

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

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