mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
agent: Use wipememory instead of memset in one place.
* agent/command.c (clear_outbuf): Use wipememory. Suggested by Ben Kibbey.
This commit is contained in:
parent
905b6a36d3
commit
9f0e9ea80c
@ -158,7 +158,7 @@ clear_outbuf (membuf_t *mb)
|
||||
p = get_membuf (mb, &n);
|
||||
if (p)
|
||||
{
|
||||
memset (p, 0, n);
|
||||
wipememory (p, n);
|
||||
xfree (p);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user