chore: Add net_(new|kill)_strerror to cppcheck's allocators.

This helps ensure strerrors are cleaned up everywhere.
This commit is contained in:
iphydf 2023-12-27 01:54:03 +00:00
parent 6a90ddfe4e
commit 1224e656e3
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -92,6 +92,10 @@
<alloc init="true">new_networking_no_udp</alloc> <alloc init="true">new_networking_no_udp</alloc>
<dealloc arg="1">kill_networking</dealloc> <dealloc arg="1">kill_networking</dealloc>
</resource> </resource>
<resource>
<alloc init="true">net_new_strerror</alloc>
<dealloc arg="1">net_kill_strerror</dealloc>
</resource>
<resource> <resource>
<alloc init="true">new_onion</alloc> <alloc init="true">new_onion</alloc>
<dealloc arg="1">kill_onion</dealloc> <dealloc arg="1">kill_onion</dealloc>