Fix un-nulled packets when copying page, wrt #1
This commit is contained in:
@@ -43,6 +43,8 @@ PageBase::PageBase(const PageBase &other)
|
|||||||
for (int i=0; i<90; i++)
|
for (int i=0; i<90; i++)
|
||||||
if (other.packetNeededArrayIndex(i))
|
if (other.packetNeededArrayIndex(i))
|
||||||
setPacketArrayIndex(i, other.packetArrayIndex(i));
|
setPacketArrayIndex(i, other.packetArrayIndex(i));
|
||||||
|
else
|
||||||
|
m_packets[i] = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
PageBase::~PageBase()
|
PageBase::~PageBase()
|
||||||
|
|||||||
Reference in New Issue
Block a user