mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fixed a bunch of little bugs as reported by Fabian Keil.
Still one problem left; marked with a gcc #warning.
This commit is contained in:
parent
e05aeca87b
commit
2e0ce7d97f
23 changed files with 79 additions and 29 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-06-24 Werner Koch <wk@g10code.com>
|
||||
|
||||
* gpgkeys_ldap.c (send_key): Do not deep free a NULL modlist.
|
||||
Reported by Fabian Keil.
|
||||
|
||||
2009-05-28 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
From 1.4:
|
||||
|
|
|
@ -771,14 +771,16 @@ send_key(int *r_eof)
|
|||
ret=KEYSERVER_OK;
|
||||
|
||||
fail:
|
||||
/* Unwind and free the whole modlist structure */
|
||||
for(ml=modlist;*ml;ml++)
|
||||
if (modlist)
|
||||
{
|
||||
free_mod_values(*ml);
|
||||
free(*ml);
|
||||
/* Unwind and free the whole modlist structure */
|
||||
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