properly free fx_pair leak.