json: Make it obvious that ast_json_unref() is NULL safe.
authorRichard Mudgett <rmudgett@digium.com>
Sat, 21 Sep 2013 00:17:56 +0000 (00:17 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Sat, 21 Sep 2013 00:17:56 +0000 (00:17 +0000)
commit120abb5ecd72fefa6aadccabf51ee4af984ee522
tree573778a3556fe9d06d35b5d8109d831e422bc0e9
parent6cc3084ae7bc927587865c1e3331fcc5031df9e7
json: Make it obvious that ast_json_unref() is NULL safe.

It looked like the safety check was done after the NULL pointer was used.
........

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

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