mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fix a couple of minor bugs.
This commit is contained in:
parent
9c5313a791
commit
64f24da283
5 changed files with 18 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-06-24 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gpgkeys_ldap.c (send_key): Do not loop over a NULL modlist in
|
||||
fail. Reported by Fabian Keil.
|
||||
|
||||
2009-06-09 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* Makefile.am (gpgkeys_hkp_LDADD): Need DNSLIBS for the resolver
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue