mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
pjproject_bundled: Update for pjproject 2.6
* Removed all 2.5.5 functional patches. * Updated usages of pj_release_pool to be "safe". * Updated configure options to disable webrtc. * Updated config_site.h to disable webrtc in pjmedia. * Added Richard Mudgett's recent resolver patches. Change-Id: Ib400cc4dfca68b3d07ce14d314e829bfddc252c7
This commit is contained in:
@@ -608,8 +608,13 @@ static void pjsip_history_entry_dtor(void *obj)
|
||||
struct pjsip_history_entry *entry = obj;
|
||||
|
||||
if (entry->pool) {
|
||||
pj_pool_release(entry->pool);
|
||||
/* This mimics the behavior of pj_pool_safe_release
|
||||
* which was introduced in pjproject 2.6.
|
||||
*/
|
||||
pj_pool_t *temp_pool = entry->pool;
|
||||
|
||||
entry->pool = NULL;
|
||||
pj_pool_release(temp_pool);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user