aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sip.c
diff options
context:
space:
mode:
authorOlivier Biot <obiot.ethereal@gmail.com>2004-01-19 23:08:02 +0000
committerOlivier Biot <obiot.ethereal@gmail.com>2004-01-19 23:08:02 +0000
commit5eb042b8622cc052e42e2749d7dde6dd92692aa8 (patch)
treec52c9f88bc4a46bfba491066eebb565eafc02102 /packet-sip.c
parentd4ab584f0fd1a82cbd0f5aba36be863fc219868d (diff)
Fix a double free bug introduced by the previous patch.
svn path=/trunk/; revision=9741
Diffstat (limited to 'packet-sip.c')
-rw-r--r--packet-sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-sip.c b/packet-sip.c
index 77631e1b06..c8a87f9078 100644
--- a/packet-sip.c
+++ b/packet-sip.c
@@ -18,7 +18,7 @@
* Copyright 2000, Heikki Vatiainen <hessu@cs.tut.fi>
* Copyright 2001, Jean-Francois Mule <jfm@cablelabs.com>
*
- * $Id: packet-sip.c,v 1.55 2004/01/18 23:21:20 obiot Exp $
+ * $Id: packet-sip.c,v 1.56 2004/01/19 23:08:02 obiot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -708,7 +708,7 @@ dissect_sip_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
#else
media_type_str_lower_case = g_ascii_strdown(media_type_str, -1);
#endif
- g_free(media_type_str);
+ /* Please do NOT g_free(media_type_str) here */
break;
case POS_CONTACT :