aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sigcomp.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2004-12-01 01:21:22 +0000
committerGerald Combs <gerald@wireshark.org>2004-12-01 01:21:22 +0000
commit077795e8fafd31b96af1f0f7a7085616e094e1a8 (patch)
treeabd313dda417269eafa80cde6bd8e6a3bcb05897 /epan/dissectors/packet-sigcomp.c
parent20404ffaa42a2872f246974ea62f1d0e64db0370 (diff)
bytes_to_str() returns a static value. Don't g_free() it.
svn path=/trunk/; revision=12629
Diffstat (limited to 'epan/dissectors/packet-sigcomp.c')
-rw-r--r--epan/dissectors/packet-sigcomp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sigcomp.c b/epan/dissectors/packet-sigcomp.c
index a2d8a23c81..761cc3d359 100644
--- a/epan/dissectors/packet-sigcomp.c
+++ b/epan/dissectors/packet-sigcomp.c
@@ -416,7 +416,6 @@ dissect_sigcomp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
partial_state_str = bytes_to_str(partial_state, partial_state_len);
proto_tree_add_string(sigcomp_tree,hf_sigcomp_partial_state,
tvb, offset, partial_state_len, partial_state_str);
- g_free(partial_state_str);
offset = offset + partial_state_len;
if(msg_len>0)
proto_tree_add_text(sigcomp_tree, tvb, offset, -1, "Remaining SigComp message %u bytes",
@@ -441,7 +440,7 @@ dissect_sigcomp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* These values will be loaded from the buffered state in sigcomp_state_hdlr
*/
state_length = 0;
- state_address = 0;
+ state_address = 0;
state_instruction =0;
i = 0;