]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx: Fix leak of timezone for time based includes. 02/3202/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:59:45 +0000 (02:59 -0500)
commita17b071e364a28f092dc9cfae8eda9e160106c78
tree8176d2fb7cac3416cf8fe337e91122962b4ed507
parent436fc7ca2b97113aad1db64610c467cc6528c9ee
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