Refactor code and fix a reference leak
authorKinsey Moore <kmoore@digium.com>
Fri, 31 May 2013 19:00:51 +0000 (19:00 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 31 May 2013 19:00:51 +0000 (19:00 +0000)
commit1458a20e47fc1cab9a22a961bff0745f7368b447
tree6ecbfd8bb7c54fd331450f6d649fefb927556514
parent680765d452f3c19ed6be54919503e8c7fad905ce
Refactor code and fix a reference leak

Refactor some channel blob publishing code to use
ast_channel_publish_blob now that it is available and fix a JSON
reference leak that was occurring during varset publishing.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_userevent.c
main/pbx.c
main/stasis_channels.c