diff options
| author | Christiano Haesbaert <haesbaert@haesbaert.org> | 2025-02-09 00:26:25 +0100 |
|---|---|---|
| committer | Christiano Haesbaert <haesbaert@haesbaert.org> | 2025-02-09 00:26:25 +0100 |
| commit | cd53949c928dc3d848658661c58b7705b3904681 (patch) | |
| tree | 3e4e3ca047060af63af3ced5eb5fa5fb32d47c22 /src/priority_queue.cpp | |
| parent | 0683a3d67296c3b8dfdef8b730e0543e7eb4385b (diff) | |
Cleanup allocated dns runtime data
While harmless, the runtime should clean up non-user allocated data.
On the same veign of: https://github.com/odin-lang/Odin/pull/4680
I'm kinda new to Odin and wrote netcat, in order to get a clean valgrind run,
one has to manually destroy dns_configuration:
https://github.com/haesbaert/learn-odin/blob/main/netcat/netcat.odin#L168-L169
While here unexport the destroy procedure and make destruction idempotent.
Diffstat (limited to 'src/priority_queue.cpp')
0 files changed, 0 insertions, 0 deletions