check origrouter before freeing