Skip to content

Commit e92e2bc

Browse files
committed
Deallocate
1 parent 25df8ec commit e92e2bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Client/mods/deathmatch/logic/luadefs/CLuaWorldDefs.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,6 +1284,7 @@ bool CLuaWorldDefs::SetWorldSpecialPropertyEnabled(const WorldSpecialProperty pr
12841284
stream->WriteString(EnumToString(property));
12851285
stream->WriteBit(enabled);
12861286
g_pNet->SendPacket(PACKET_ID_PLAYER_WORLD_SPECIAL_PROPERTY, stream, PACKET_PRIORITY_HIGH, PACKET_RELIABILITY_RELIABLE_ORDERED);
1287+
g_pNet->DeallocateNetBitStream(stream);
12871288
}
12881289

12891290
return true;

0 commit comments

Comments
 (0)