Free the statebuff and the string

svn path=/trunk/; revision=12567
This commit is contained in:
Anders Broman 2004-11-21 22:08:40 +00:00
parent 4956f5fba1
commit 8ee46e0006
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}