Opened 18 years ago
#17 new defect
Fix inconsistent convention on when to destroy tx_data
Reported by: | bennylp | Owned by: | bennylp |
---|---|---|---|
Priority: | major | Milestone: | Known-Issues-and-Ideas |
Component: | pjsip | Version: | |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: |
Description
The convention now is inconsistent about when tx_data reference counter should be decremented on failure. The dialog send() function *always* decrements the reference counter no matter what, while transaction only decrements it if it is sent successfully.
The good solution perhaps to always decrement reference counter no matter what, to prevent memory leaks, but need to consult everybody about this.
Note: See
TracTickets for help on using
tickets.