inspector, c: add destructor

Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>