You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a RawPacket referencing some memory buffer and then assign another RawPacket to that instance,
delete[] will be called on m_RawData whether m_DeleteRawDataAtDestructor is set or not.
See the implmentation of the destructor, maybe there should be a common clear() method.
The text was updated successfully, but these errors were encountered:
PcapPlusPlus/Packet++/src/RawPacket.cpp
Line 60 in 35f486c
If you have a RawPacket referencing some memory buffer and then assign another RawPacket to that instance,
delete[] will be called on m_RawData whether m_DeleteRawDataAtDestructor is set or not.
See the implmentation of the destructor, maybe there should be a common clear() method.
The text was updated successfully, but these errors were encountered: