{
PERR("malloc failed");
}
+ Py_DECREF(pt_elm_tuple);
}
bundle_add_str(reply, "command", "pos_tag");
bundle_add_str_array(reply, "return_tag", (const char **)tag, len);
free(token[j]);
}
Py_DECREF(pt_result);
- Py_DECREF(pt_elm_tuple);
PINFO("pos_tag process done");
break;
}
{
PERR("malloc failed");
}
+ Py_DECREF(ne_elm_tuple);
}
bundle_add_str(reply, "command", "ne_chunk");
bundle_add_str_array(reply, "return_tag", (const char **)s_tag, len);
free(s_token[j]);
}
Py_DECREF(ne_result);
- Py_DECREF(ne_elm_tuple);
PINFO("ne_chunk process done");
break;
}