]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix a possible crash in pbx_spool.
authorSean Bright <sean@malleable.com>
Wed, 3 Jun 2009 20:39:10 +0000 (20:39 +0000)
committerSean Bright <sean@malleable.com>
Wed, 3 Jun 2009 20:39:10 +0000 (20:39 +0000)
commitf3b85fface2bea9dd5cae5dcc5546ff34c1566cb
treef0db6a8f6e0db584ccab53eada8539eebdeb6feb
parentddb4e3f2e79f8c23b73ed4e18e273b0701a479bd
Fix a possible crash in pbx_spool.

We were trying to reference members of a struct that had previously been freed.
This patch makes sure that we free the struct after it has been removed from
the spooler queue.

(closes issue #15072)
Reported by: garlew
Patches:
      spool.diff uploaded by garlew (license 376)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@198957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
pbx/pbx_spool.c