Remove repeated calls to reg() with same arguments in FREE.