Fixed memory leaks in ccl_find_str and ccl_qual_rm.