mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue