Fix a memory leak in the equipment flyout.