diff options
author | NRK <nrk@disroot.org> | 2023-01-31 04:16:41 +0600 |
---|---|---|
committer | Mike Frysinger <vapier@gmail.com> | 2023-02-05 00:38:20 -0500 |
commit | 63a5ee3d8c75db0ce89a755264f0d871107668d3 (patch) | |
tree | daaf72b7767d29bed504d5348934a116c7e9dc09 /src/poweroff | |
parent | 36cc40a9d641058ae69ca64a4661d5900098ab12 (diff) |
seedrng: fix memory leak reported by clang-tidy
`seed_dir` gets allocated via xstrdup but never gets freed - which
clang-tidy flags as a memory leak.
instead of free-ing the allocation, just don't allocate to begin with
since there's no need for it.
also bump the copyright year.
Diffstat (limited to 'src/poweroff')
0 files changed, 0 insertions, 0 deletions