fix leaks in rop search