157,160c157,160
< AtagCore *ac = new AtagCore;
< ac->flags(1); // read-only
< ac->pagesize(8192);
< ac->rootdev(0);
---
> AtagCore ac;
> ac.flags(1); // read-only
> ac.pagesize(8192);
> ac.rootdev(0);
167,169c167,169
< AtagMem *am = new AtagMem;
< am->memSize(atagRanges.begin()->size());
< am->memStart(atagRanges.begin()->start);
---
> AtagMem am;
> am.memSize(atagRanges.begin()->size());
> am.memStart(atagRanges.begin()->start);
171,172c171,172
< AtagCmdline *ad = new AtagCmdline;
< ad->cmdline(params()->boot_osflags);
---
> AtagCmdline ad;
> ad.cmdline(params()->boot_osflags);
174c174,175
< DPRINTF(Loader, "boot command line %d bytes: %s\n", ad->size() <<2, params()->boot_osflags.c_str());
---
> DPRINTF(Loader, "boot command line %d bytes: %s\n",
> ad.size() <<2, params()->boot_osflags.c_str());
176c177
< AtagNone *an = new AtagNone;
---
> AtagNone an;
178c179
< uint32_t size = ac->size() + am->size() + ad->size() + an->size();
---
> uint32_t size = ac.size() + am.size() + ad.size() + an.size();
182,185c183,186
< offset += ac->copyOut(boot_data + offset);
< offset += am->copyOut(boot_data + offset);
< offset += ad->copyOut(boot_data + offset);
< offset += an->copyOut(boot_data + offset);
---
> offset += ac.copyOut(boot_data + offset);
> offset += am.copyOut(boot_data + offset);
> offset += ad.copyOut(boot_data + offset);
> offset += an.copyOut(boot_data + offset);
190a192,193
>
> delete[] boot_data;