diff options
author | Richard Mudgett <rmudgett@digium.com> | 2016-11-14 14:36:52 -0600 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-11-16 12:02:10 -0600 |
commit | e632222bc41d860af7de2463c35de60387a2f295 (patch) | |
tree | 0d13d1b5b98880e27f31b10beb4f8b568f7e16fd /include | |
parent | a58d3597019f8cc5a503f140671232ae3f8d9119 (diff) |
res_pjsip_outbound_authenticator_digest.c: Fix memory pool leak.
Responding to authentication challenges leaks PJSIP memory pools.
The leak was introduced with a pjproject 2.5.5 API change.
https://trac.pjsip.org/repos/ticket/1929 changed the API usage of
pjsip_auth_clt_init() to require the new API pjsip_auth_clt_deinit() to
clean up cached authentication allocations that get allocated with
pjsip_auth_clt_reinit_req().
ASTERISK-26516 #close
Change-Id: I4473141b8c3961d0dc91c382beb3876b3efb45c8
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/autoconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index 55189e2ab..570794165 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -584,6 +584,9 @@ /* Define if your system has PJPROJECT_BUNDLED */ #undef HAVE_PJPROJECT_BUNDLED +/* Define to 1 if PJPROJECT has the pjsip_auth_clt_deinit support feature. */ +#undef HAVE_PJSIP_AUTH_CLT_DEINIT + /* Define to 1 if PJPROJECT has the PJSIP Dialog Create UAS with Incremented Lock feature. */ #undef HAVE_PJSIP_DLG_CREATE_UAS_AND_INC_LOCK |