]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx: Fix leak of timezone for time based includes. 01/3201/1
authorCorey Farrell <git@cfware.com>
Thu, 14 Jul 2016 07:40:26 +0000 (03:40 -0400)
committerCorey Farrell <git@cfware.com>
Thu, 14 Jul 2016 07:40:26 +0000 (03:40 -0400)
commit877c23222d1d93c3cecc0b267c14155851a96d4b
treec72721e8c13588c5a4b7425f442933c2242cb7e0
parentd5306d15c4c39a6d207206248bb0139bd5c11a56
pbx: Fix leak of timezone for time based includes.

Create include_free to run ast_destroy_timing and ast_free, use that in
all places that freed an ast_include structure.  This fixes a couple of
paths that previously did not run ast_destroy_timing.

ASTERISK-26196 #close

Change-Id: I1671bd111bef0dc113e8bf8f77f89fcfc395d838
main/pbx.c