]> git.ipfire.org Git - thirdparty/asterisk.git/commit
main/formats: Fix crash in ast_format_cmp during non-clean shutdown.
authorCorey Farrell <git@cfware.com>
Thu, 27 Mar 2014 18:18:23 +0000 (18:18 +0000)
committerCorey Farrell <git@cfware.com>
Thu, 27 Mar 2014 18:18:23 +0000 (18:18 +0000)
commit90fa4e3c364151a6cac6eea0c9799fcb8a092597
tree2e9e6782c07ce4d95e82dd2e153297b8615a708d
parent818f476893484e96037d02d4e5660e60e6cbe559
main/formats: Fix crash in ast_format_cmp during non-clean shutdown.

* Backport ast_register_cleanup from Asterisk 12.
* Use ast_register_cleanup for format_attr_shutdown.

ast_register_cleanup was originally commited in r390122 by dlee.

(closes issue ASTERISK-23103)
Reported by: JoshE

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