-
- Downloads
VECTOR: Passing parameters with side effects to macros is dangerous.
* Fix several instances where we were bumping a ref in the parameter and then unrefing the object if it failed. The way the AST_VECTOR_APPEND() and AST_VECTOR_REPLACE() macros are implemented means if it fails the new value was never evaluated. Change-Id: I2847872a455b11ea7e5b7ce697c0a455a1d0ac9a
Showing
- bridges/bridge_softmix.c 3 additions, 1 deletionbridges/bridge_softmix.c
- res/res_pjsip/pjsip_options.c 3 additions, 2 deletionsres/res_pjsip/pjsip_options.c
- res/res_pjsip_history.c 2 additions, 1 deletionres/res_pjsip_history.c
- res/res_pjsip_session.c 4 additions, 1 deletionres/res_pjsip_session.c
- res/stasis/messaging.c 3 additions, 2 deletionsres/stasis/messaging.c
Loading
Please register or sign in to comment