Skip to content

Commit

Permalink
chore: Add net_(new|kill)_strerror to cppcheck's allocators.
Browse files Browse the repository at this point in the history
This helps ensure strerrors are cleaned up everywhere.
  • Loading branch information
iphydf committed Dec 27, 2023
1 parent bd930cc commit 0bed279
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions other/docker/cppcheck/toxcore.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@
<alloc init="true">new_networking_no_udp</alloc>
<dealloc arg="1">kill_networking</dealloc>
</resource>
<resource>
<alloc init="true">net_new_strerror</alloc>
<dealloc arg="1">net_kill_strerror</dealloc>
</resource>
<resource>
<alloc init="true">new_onion</alloc>
<dealloc arg="1">kill_onion</dealloc>
Expand Down

0 comments on commit 0bed279

Please sign in to comment.