git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2e6099
)
SPF: fix memory accounting for error case
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 7 Aug 2022 16:00:27 +0000
(17:00 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 7 Aug 2022 16:00:27 +0000
(17:00 +0100)
src/src/spf.c
patch
|
blob
|
history
diff --git
a/src/src/spf.c
b/src/src/spf.c
index db6eea3a823a84be992f0bd28852a43859bed387..a8c0f75c4f30d0384e4c0c5291fc7fe08876794d 100644
(file)
--- a/
src/src/spf.c
+++ b/
src/src/spf.c
@@
-204,7
+204,7
@@
spf_nxdomain = SPF_dns_rr_new_init(spf_dns_server,
"", ns_t_any, 24 * 60 * 60, HOST_NOT_FOUND);
if (!spf_nxdomain)
{
- free(spf_dns_server);
+
store_
free(spf_dns_server);
return NULL;
}