ida-manager.c: Cleanup