Skip to content

Commit

Permalink
memset
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurdead committed Mar 5, 2023
1 parent a4cb9f5 commit 09aa70e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ struct packed_entity_data_t final
reset();

packedData = static_cast<char *>(aligned_alloc(4, MAX_PACKEDENTITY_DATA));
memset(packedData, 0x0, MAX_PACKEDENTITY_DATA);
writeBuf = new bf_write{"SV_PackEntity->writeBuf", packedData, MAX_PACKEDENTITY_DATA};
}

Expand Down

0 comments on commit 09aa70e

Please sign in to comment.