shred: remove redundant zeroing of freed memory
commit79c8041a840f34ae9790e8211544f0cfec1c7df3
authorPádraig Brady <P@draigBrady.com>
Sun, 23 Jul 2017 08:06:33 +0000 (23 01:06 -0700)
committerPádraig Brady <P@draigBrady.com>
Sun, 23 Jul 2017 19:26:22 +0000 (23 12:26 -0700)
tree71ec849b724f6de02c6b9f047a18fa9ce83d490c
parent8b1c6eebaccb1105adc29ec4ae76691df9e691fa
shred: remove redundant zeroing of freed memory

* src/shred.c (dopass): shred used to read the input file,
and so needed to ensure internal memory was cleared.
This is no longer the case since SH-UTILS-1_16f-260-gf381610
so avoid this redundant clearing.
(do_wipefd): Likewise.
* NEWS: Remove the recent mention of this issue.
NEWS
src/shred.c