};
static GHashTable *state_buffer_table=NULL;
+\r
+static void\r
+state_buffer_table_cleanup(gpointer key _U_, gpointer value, gpointer user_data _U_){\r
+\r
+ guint8 *state_buff = value;\r
+\r
+ if ( state_buff )\r
+ g_free(state_buff);\r
+}\r
void
sigcomp_init_udvm(void){
gchar *partial_state_str;
guint i;
guint8 *sip_sdp_buff;
+\r
+ /* Destroy any existing memory chunks / hashes. */\r
+ if (state_buffer_table)\r
+ g_hash_table_foreach(state_buffer_table, state_buffer_table_cleanup, NULL);\r
state_buffer_table = g_hash_table_new(g_str_hash, g_str_equal);