Actions
Bug #511
closedjson protocol: memory leak when discarding is-info packets
Start date:
04/27/2024
Due date:
% Done:
0%
Estimated time:
Description
When an is-info packet contains no changes and is discarded, the send function returns early without freeing the packet's JSON object.
Either need to introduce a SEND_PACKET_DISCARD macro in packets[_json].h and use it to handle this, or delay SEND_PACKET_START until after we know the packet won't be discarded (which would reduce the simplicity gains from #510).
Files
Actions