1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Fix a couple of minor bugs.

This commit is contained in:
Werner Koch 2009-06-24 14:01:20 +00:00
parent 9c5313a791
commit 64f24da283
5 changed files with 18 additions and 7 deletions

View file

@ -777,13 +777,16 @@ send_key(int *eof)
fail:
/* Unwind and free the whole modlist structure */
for(ml=modlist;*ml;ml++)
if (modlist)
{
free_mod_values(*ml);
free(*ml);
for(ml=modlist;*ml;ml++)
{
free_mod_values(*ml);
free(*ml);
}
free(modlist);
}
free(modlist);
free(addlist);
free(dn);
free(key);