Opened 5 years ago

Closed 5 years ago

#2234 closed defect (fixed)

Memory leak with third party resampling

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

Description

It is reported that when you configure the library to use Speex for resampling, a memory leak occurs when a conference port is removed
that has resample instances associated with it.

Resamples instances are created during the call to create_conf_port() but are not destroyed anywhere and will lead to memory leak.

This ticket will also disable pjmedia_conf_add_passive_port() which is already deprecated since 1.3 .

Thanks to Andreas Wehrmann for the report, patch and suggestion.

Change History (1)

comment:1 Changed 5 years ago by riza

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

In 6076:

Fix #2234: Memory leak with third party resampling.

Note: See TracTickets for help on using tickets.