Fix Coverity Scan CID 300396 (Variable mac_MainConfig going out of scope leaks the storage it points to.)