summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2007-10-10 08:39:33 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2007-10-10 08:39:33 (GMT)
commit589ccfd9dfd9e12438fa4bf8d98472709a00283e (patch) (side-by-side diff)
tree50653bb53a64852052b9a9756df0e071a754c371
parent40888a3451249fa704f1780d80974cf89ade4c5e (diff)
downloadmailfromd-589ccfd9dfd9e12438fa4bf8d98472709a00283e.tar.gz
mailfromd-589ccfd9dfd9e12438fa4bf8d98472709a00283e.tar.bz2
* src/dnsbase.c (dns_resolve_hostname): Remove stray free, left
over after 2007-09-03. git-svn-id: file:///svnroot/mailfromd/trunk@1513 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ChangeLog5
-rw-r--r--src/dnsbase.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 509a394..425c82a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-10 Sergey Poznyakoff <gray@gnu.org.ua>
+
+ * src/dnsbase.c (dns_resolve_hostname): Remove stray free, left
+ over after 2007-09-03.
+
2007-09-13 Sergey Poznyakoff <gray@gnu.org.ua>
* src/prog.c (heap_obstack_grow): Bugfix. The condition didn't
diff --git a/src/dnsbase.c b/src/dnsbase.c
index 94a0688..cf4b95a 100644
--- a/src/dnsbase.c
+++ b/src/dnsbase.c
@@ -588,8 +588,6 @@ dns_resolve_hostname(const char *host, char *answer, size_t answer_size,
cnameloop(&ld);
- free(ld.name);
-
if (ld.status == dns_success && ld.atype == T_A) {
struct in_addr s;
char *p;

Return to:

Send suggestions and report system problems to the System administrator.