aboutsummaryrefslogtreecommitdiff
path: root/src/lib/fs/dir.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-08-03 10:11:03 -0400
committerNick Mathewson <nickm@torproject.org>2020-08-03 10:11:03 -0400
commit5b9508c9a5d757223c62749c51eaf7453ff26691 (patch)
tree77b5989bb03a7659aac4c17e9ee85cbf51b931d8 /src/lib/fs/dir.c
parentc4742b89b23d58958ee0d5ca324dac5948c94bf6 (diff)
downloadtor-5b9508c9a5d757223c62749c51eaf7453ff26691.tar.gz
tor-5b9508c9a5d757223c62749c51eaf7453ff26691.zip
Add a tor_str_wipe_and_free() function.
Frequently we want to do if (s) { memwipe(s, 0, sizeof(s)); tor_free(s); } and it's good to have a way to do this concisely.
Diffstat (limited to 'src/lib/fs/dir.c')
0 files changed, 0 insertions, 0 deletions