aboutsummaryrefslogtreecommitdiffstats
path: root/main/threadstorage.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-16 15:56:37 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-16 15:56:37 +0000
commit04d03a5a078adb1eaa2b2d6e316bf2343e91c300 (patch)
tree753f584e672368d2437a2caa7ac8f20bcf58f4cc /main/threadstorage.c
parent2289ddaea5a6f4074f8cb5a95961be471f5ddae9 (diff)
Fix a memory leak related to the use of the "setvar" configuration option.
The problem was that these variables were being appended to the list of vars on the sip_pvt every time a re-registration or re-subscription came in. Since it's just a waste of memory to put them there unless the request was an INVITE, then the fix is to check the request type before copying the vars. (closes issue #14037) Reported by: marvinek Tested by: russell git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@164672 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/threadstorage.c')
0 files changed, 0 insertions, 0 deletions