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
#1
Updated by Alina Lenk 7 months ago
- File main-json-protocol-free-json-object-when-discarding-info-.patch main-json-protocol-free-json-object-when-discarding-info-.patch added
- File S3_2-json-protocol-free-json-object-when-discarding-info-.patch S3_2-json-protocol-free-json-object-when-discarding-info-.patch added
- Status changed from New to In Review
- Assignee set to Alina Lenk
- Target version set to 3.2.0
Actions