diff options
author | Benny Prijono <bennylp@teluu.com> | 2009-08-12 17:53:47 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2009-08-12 17:53:47 +0000 |
commit | f4f120afc306e03d3fbc54701759bd8f7efbbf53 (patch) | |
tree | ea3581e237158feef7090f2eab8dc1c20f6ae0a3 /pjsip/src/pjsip-ua/sip_timer.c | |
parent | 562fdabbc6a8b96f1e536fe413761cf5b8a5b304 (diff) |
Ticket #877: Memory consumption of the invite session grows indefinitely if call is running for long period of time and with many re-INVITES
- introducing flip-flop pools in the pjsip_inv_session. There are two additional pools created, and one of them will be reset everytime SDP negotiation is done to release memory back to the OS
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2869 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsip-ua/sip_timer.c')
-rw-r--r-- | pjsip/src/pjsip-ua/sip_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip/src/pjsip-ua/sip_timer.c b/pjsip/src/pjsip-ua/sip_timer.c index 36209448..3c60e01d 100644 --- a/pjsip/src/pjsip-ua/sip_timer.c +++ b/pjsip/src/pjsip-ua/sip_timer.c @@ -359,7 +359,7 @@ void timer_cb(pj_timer_heap_t *timer_heap, struct pj_timer_entry *entry) status = pjsip_inv_invite(inv, &tdata); if (status == PJ_SUCCESS) - status = pjmedia_sdp_neg_send_local_offer(inv->pool, + status = pjmedia_sdp_neg_send_local_offer(inv->pool_prov, inv->neg, &offer); if (status == PJ_SUCCESS) status = pjmedia_sdp_neg_get_neg_local(inv->neg, &offer); |