MCPcopy Create free account
hub / github.com/SamuraiT/mecab-python3 / SwigPyBuiltin_BadDealloc

Function SwigPyBuiltin_BadDealloc

src/MeCab/MeCab_wrap.cpp:2670–2676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2668}
2669
2670SWIGINTERN void
2671SwigPyBuiltin_BadDealloc(PyObject *obj) {
2672 SwigPyObject *sobj = (SwigPyObject *)obj;
2673 if (sobj->own) {
2674 PyErr_Format(PyExc_TypeError, "Swig detected a memory leak in type '%.300s': no callable destructor found.", obj->ob_type->tp_name);
2675 }
2676}
2677
2678typedef struct {
2679 PyCFunction get;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected