projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
hcache.c
diff --git
a/hcache.c
b/hcache.c
index
f6bcbf8
..
62ef8dc
100644
(file)
--- a/
hcache.c
+++ b/
hcache.c
@@
-793,7
+793,7
@@
void *mutt_hcache_fetch (void *db, const char *filename,
data = gdbm_fetch (h->db, key);
if (!crc32_matches (data.dptr, h->crc)) {
data = gdbm_fetch (h->db, key);
if (!crc32_matches (data.dptr, h->crc)) {
-
free (
data.dptr);
+
FREE(&
data.dptr);
return NULL;
}
return NULL;
}
@@
-973,7
+973,7
@@
void *mutt_hcache_fetch (void *db, const char *filename,
h->db->get (h->db, NULL, &key, &data, 0);
if (!crc32_matches (data.data, h->crc)) {
h->db->get (h->db, NULL, &key, &data, 0);
if (!crc32_matches (data.data, h->crc)) {
-
free (
data.data);
+
FREE(&
data.data);
return NULL;
}
return NULL;
}