-
- Downloads
astobj2: assert on invalid ref and backtrace cleanup
If a reference count goes negative, instead of just logging that fact, be more helpful with a backtrace and an assert that will DO_CRASH. This patch also removes the duplicate ao2_bt() function and cleans up extraneous usage of the ast_log_backtrace() call. Review: https://reviewboard.asterisk.org/r/3765/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- include/asterisk/astobj2.h 0 additions, 3 deletionsinclude/asterisk/astobj2.h
- main/astobj2.c 3 additions, 24 deletionsmain/astobj2.c
- main/logger.c 3 additions, 3 deletionsmain/logger.c
- main/utils.c 1 addition, 1 deletionmain/utils.c
- res/res_pjsip_pubsub.c 0 additions, 2 deletionsres/res_pjsip_pubsub.c
Loading
Please register or sign in to comment