Ticket #1929 (closed defect: fixed)

Opened 18 months ago

Last modified 17 months ago

Avoid memory pool growing when doing re-Registration

Reported by: riza Owned by: bennylp
Priority: normal Milestone: release-2.5.5
Component: pjsip Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

When doing re-registration, on some cases we might get different response (e.g: Authentication challenge) which eventually cause the memory pool to grow.

This ticket will use a new pool specific for this case, it will check for the pool size, and recreate it if it's over the limit.

Thanks to Oleg Grazhdan for the patch.

Change History

comment:1 Changed 18 months ago by riza

In 5336:

Re #1929: Avoid memory pool growing when doing re-Registration.

comment:2 Changed 17 months ago by ming

  • Status changed from new to closed
  • Resolution set to fixed

In 5373:

Fixed #1929: Fixed memory leak when using sip_auth_client since it's also used by other components, such as sip_dialog, publishc, and pjsua_im.

Application should use the new API pjsip_auth_clt_deinit() to release the pool.

Note: See TracTickets for help on using tickets.