Fix un-nulled packets when copying page, wrt #1

This commit is contained in:
G.K.MacGregor
2020-10-16 21:45:25 +01:00
parent 04a06c7de5
commit 5d7175f75f

View File

@@ -43,6 +43,8 @@ PageBase::PageBase(const PageBase &other)
for (int i=0; i<90; i++)
if (other.packetNeededArrayIndex(i))
setPacketArrayIndex(i, other.packetArrayIndex(i));
else
m_packets[i] = nullptr;
}
PageBase::~PageBase()