mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg-agent.c (main): In detached mode connect standard descriptors to /dev/null.
Other minor fixes
This commit is contained in:
parent
fac4babd9d
commit
c1f4a8edff
4 changed files with 24 additions and 4 deletions
|
@ -317,8 +317,7 @@ read_trustfiles (void)
|
|||
}
|
||||
|
||||
/* Fixme: we should drop duplicates and sort the table. */
|
||||
|
||||
ti = xtryrealloc (table, tableidx * sizeof *table);
|
||||
ti = xtryrealloc (table, (tableidx?tableidx:1) * sizeof *table);
|
||||
if (!ti)
|
||||
{
|
||||
xfree (table);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue