main/formats: Fix crash in ast_format_cmp during non-clean shutdown.
authorCorey Farrell <git@cfware.com>
Thu, 27 Mar 2014 18:26:12 +0000 (18:26 +0000)
committerCorey Farrell <git@cfware.com>
Thu, 27 Mar 2014 18:26:12 +0000 (18:26 +0000)
commit44409401ec7d754a2af861f599e88e5199c2ccf0
tree43faf909d1d58c4212c85082bb957179e5f2b35f
parenta8629e53c19774b679a102dc2ee5c11a63583315
main/formats: Fix crash in ast_format_cmp during non-clean shutdown.

* Update asterisk.h to reflect availability of ast_register_cleanup in 11.9.
* Use ast_register_cleanup for format_attr_shutdown.

(closes issue ASTERISK-23103)
Reported by: JoshE
........

Merged revisions 411310 from http://svn.asterisk.org/svn/asterisk/branches/11
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@411312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk.h
main/format.c