[asterisk-bugs] [JIRA] (ASTERISK-26191) threadpool: Leak on duplicate taskprocessor for ast_threadpool_serializer_group
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Thu Jul 14 13:36:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corey Farrell closed ASTERISK-26191.
------------------------------------
> 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: SVN, 13.9.1
> Reporter: Corey Farrell
> Assignee: 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