json: Fix json API wrapper code for json library versions earlier than 2.3.0.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 21 Feb 2014 17:47:58 +0000 (17:47 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 21 Feb 2014 17:47:58 +0000 (17:47 +0000)
commiteec8ccc10b9c88e0afb4504ed9a6074da06caaa9
treeb6814150e55ef588bece5fd25df259577803c11c
parent3cfa1c882618d0a8828f8109567884898f0e437b
json: Fix json API wrapper code for json library versions earlier than 2.3.0.

* Fixed json ref counting issue with json API wrapper code for
ast_json_object_update_existing() and ast_json_object_update_missing()
when the json library is earlier than version 2.3.0.
........

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

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