mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Merge remote-tracking branch 'origin/master' into topic/robin/pktsrc
Conflicts: configure src/CMakeLists.txt src/Net.cc src/PacketSort.cc src/PacketSort.h src/RemoteSerializer.cc src/Sessions.cc src/Sessions.h
This commit is contained in:
commit
bf6dd2e9ca
794 changed files with 119018 additions and 91558 deletions
|
@ -82,6 +82,7 @@ bool Serializer::EndSerialization(SerialInfo* info)
|
|||
|
||||
ChunkedIO::Chunk* chunk = new ChunkedIO::Chunk;
|
||||
chunk->len = format->EndWrite(&chunk->data);
|
||||
chunk->free_func = ChunkedIO::Chunk::free_func_free;
|
||||
|
||||
if ( ! io->Write(chunk) )
|
||||
{
|
||||
|
@ -283,7 +284,6 @@ int Serializer::Unserialize(UnserialInfo* info, bool block)
|
|||
|
||||
if ( ! info->chunk )
|
||||
{ // only delete if we allocated it ourselves
|
||||
delete [] chunk->data;
|
||||
delete chunk;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue