aboutsummaryrefslogtreecommitdiffstats
path: root/epan/sigcomp_state_hdlr.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2004-11-21 22:08:40 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2004-11-21 22:08:40 +0000
commit3c9227aabf5b2d34c36bd94baa1176ecb448eee4 (patch)
tree1e306f0096d60f1f6c3046600c22382a2ae769f5 /epan/sigcomp_state_hdlr.c
parent1a321b2328f66a7426bb3d4539d06a713846c8cc (diff)
Free the statebuff and the string
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12567 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/sigcomp_state_hdlr.c')
-rw-r--r--epan/sigcomp_state_hdlr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/sigcomp_state_hdlr.c b/epan/sigcomp_state_hdlr.c
index 70f6c467d2..c7b729fe1c 100644
--- a/epan/sigcomp_state_hdlr.c
+++ b/epan/sigcomp_state_hdlr.c
@@ -613,8 +613,10 @@ void udvm_state_create(guint8 *state_buff,guint8 *state_identifier,guint16 p_id_
}else{
/* The buffer allocated by sigcomp-udvm.c wasen't needed so free it
*/
- g_free(partial_state_str);
+ g_free(state_buff);
+
}
+ g_free(partial_state_str);
}