summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/spamdb/spamdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/spamdb/spamdb.c b/usr.sbin/spamdb/spamdb.c
index a1683aa4fdf..b6508dfd601 100644
--- a/usr.sbin/spamdb/spamdb.c
+++ b/usr.sbin/spamdb/spamdb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamdb.c,v 1.13 2005/03/11 23:27:12 beck Exp $ */
+/* $OpenBSD: spamdb.c,v 1.14 2005/03/11 23:45:45 beck Exp $ */
/*
* Copyright (c) 2004 Bob Beck. All rights reserved.
@@ -60,7 +60,6 @@ dbupdate(char *dbname, char *ip, int add, int type)
if (type == TRAPHIT || type == WHITE) {
if (getaddrinfo(ip, NULL, &hints, &res) != 0) {
warnx("invalid ip address %s", ip);
- freeaddrinfo(res);
goto bad;
}
freeaddrinfo(res);