Summary: | ASTERISK-26191: threadpool: Leak on duplicate taskprocessor for ast_threadpool_serializer_group | ||
Reporter: | Corey Farrell (coreyfarrell) | Labels: | |
Date Opened: | 2016-07-13 11:20:46 | Date Closed: | 2016-07-14 12:43:42 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Core/General |
Versions: | SVN 13.9.1 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | {{ast_threadpool_serializer_group}} leaks a reference to {{ser}} when {{ast_taskprocessor_create_with_listener}} returns NULL. Found via unit test {{/main/threadpool/ threadpool_serializer_dupe}}.
A comment in the code says that {{listener}} takes the reference to {{ser}}, but this part of the cleanup only happens if {{tps}} is initialized. | ||
Comments: | By: Asterisk Team (asteriskteam) 2016-07-13 11:20:46.886-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. |