aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-19 00:59:51 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-19 00:59:51 +0000
commitfbd0b663a495946a070b317ffcd3c9549c7166e8 (patch)
tree023e0be4a0b7280de3cffff03580832bce72eddd /channels
parent4f613cbd5b78894d8275ba429bc8d28032445904 (diff)
Don't leak the actual thread-specific sip_pvt struct
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@45622 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 148a456a9..baa63d12b 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -5569,6 +5569,8 @@ static void temp_pvt_cleanup(void *data)
struct sip_pvt *p = data;
ast_string_field_free_pools(p);
+
+ free(data);
}
/*! \brief Transmit response, no retransmits, using a temporary pvt structure */