EDA/ERS: Moved lastDetail definition to fix a Freed Memory Write that would happen...