in pachi_py/pachi/pachi.c [68:73]
static void done_engine(struct engine *e) { if (e->done) e->done(e); if (e->data) free(e->data); free(e); }