#2012 closed defect (fixed)
Prevent memory leak when rejecting a call from on_incoming_call() callback
Reported by: | riza | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.7 |
Component: | pjsua-lib | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
The call->incoming_data() will get reset (set to NULL) on reset_call(),
which lead to memory leak since it's not properly released.
One example of this case is when rejecting a call from on_incoming_call() callback.
Thanks to Alexandre Beaulieu for the report.
Change History (3)
comment:1 Changed 8 years ago by riza
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 8 years ago by riza
In 5585:
comment:3 Changed 8 years ago by ming
In 5592:
Note: See
TracTickets for help on using
tickets.
In 5584: