m_steps_index = g_ptr_array_new();
m_steps_content = g_ptr_array_new();
+
+ /* the member variables below are saved in get_best_match call. */
+ m_sentence = NULL;
+ m_sentence_length = 0;
}
PhraseLookup::~PhraseLookup(){
m_steps_index = g_ptr_array_new();
m_steps_content = g_ptr_array_new();
+
+ /* the member variables below are saved in get_best_match call. */
+ m_keys = NULL;
+ m_constraints = NULL;
}
PinyinLookup2::~PinyinLookup2(){
assert(user->set_freq(*token, freq + seed));
assert(m_user_bigram->store(last_token, user));
next:
+ assert(NULL != user);
if (user)
delete user;
}