Opened 3 years ago

Closed 3 years ago

#1929 closed defect (fixed)

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 (2)

comment:1 Changed 3 years ago by riza

In 5336:

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

comment:2 Changed 3 years ago by ming

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

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.