osd: fix several memory leaks from fast dispatch