aboutsummaryrefslogtreecommitdiffstats
path: root/epan/sigcomp_state_hdlr.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2004-11-21 22:08:40 +0000
committerAnders Broman <anders.broman@ericsson.com>2004-11-21 22:08:40 +0000
commit8ee46e00061bbc29ba47c1a6f6b45a11db633080 (patch)
tree1e306f0096d60f1f6c3046600c22382a2ae769f5 /epan/sigcomp_state_hdlr.c
parent4956f5fba1e8ff58c21b500759a295dd892c9d8e (diff)
Free the statebuff and the string
svn path=/trunk/; revision=12567
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);
}