mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02: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);
|
p = get_membuf (mb, &n);
|
||||||
if (p)
|
if (p)
|
||||||
{
|
{
|
||||||
memset (p, 0, n);
|
wipememory (p, n);
|
||||||
xfree (p);
|
xfree (p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user