]> git.ipfire.org Git - thirdparty/asterisk.git/commit
threadpool: Fix leak in ast_threadpool_serializer_group error path. 88/3188/1
authorCorey Farrell <git@cfware.com>
Wed, 13 Jul 2016 16:30:58 +0000 (12:30 -0400)
committerCorey Farrell <git@cfware.com>
Wed, 13 Jul 2016 16:30:58 +0000 (12:30 -0400)
commit672a64bda3142a162f7c458ce7df2896805e9a1f
tree1a1105f414f66bf02b78a9e6a16916702962dd92
parent8cea01ab1b3e07282487d7efe1888f290cc4280a
threadpool: Fix leak in ast_threadpool_serializer_group error path.

ast_threadpool_serializer_group leaks a reference to ser when listener
is allocated but tps is not.  Although listener takes the reference to
ser cleanup functions are not run without tps.

ASTERISK-26191 #close

Change-Id: Ie3ccf69a3f1e676c2ef62a77067c0cb57dc9a585
main/threadpool.c