Changeset View
Changeset View
Standalone View
Standalone View
dirmngr/crlcache.c
Show First 20 Lines • Show All 366 Lines • ▼ Show 20 Lines | |||||
{ | { | ||||
if (entry) | if (entry) | ||||
{ | { | ||||
if (entry->cdb) | if (entry->cdb) | ||||
{ | { | ||||
int fd = cdb_fileno (entry->cdb); | int fd = cdb_fileno (entry->cdb); | ||||
cdb_free (entry->cdb); | cdb_free (entry->cdb); | ||||
xfree (entry->cdb); | xfree (entry->cdb); | ||||
if (close (fd)) | if (fd != -1 && close (fd)) | ||||
log_error (_("error closing cache file: %s\n"), strerror(errno)); | log_error (_("error closing cache file: %s\n"), strerror(errno)); | ||||
} | } | ||||
xfree (entry->release_ptr); | xfree (entry->release_ptr); | ||||
xfree (entry->check_trust_anchor); | xfree (entry->check_trust_anchor); | ||||
xfree (entry); | xfree (entry); | ||||
} | } | ||||
} | } | ||||
▲ Show 20 Lines • Show All 2,206 Lines • Show Last 20 Lines |