[asterisk-bugs] [JIRA] (ASTERISK-26191) threadpool: Leak on duplicate taskprocessor for ast_threadpool_serializer_group
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Wed Jul 13 11:20:56 CDT 2016
Corey Farrell created ASTERISK-26191:
----------------------------------------
Summary: threadpool: Leak on duplicate taskprocessor for ast_threadpool_serializer_group
Key: ASTERISK-26191
URL: https://issues.asterisk.org/jira/browse/ASTERISK-26191
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Core/General
Affects Versions: 13.9.1, SVN
Reporter: Corey Farrell
Severity: Minor
{{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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list