diff options
author | 2011-05-16 21:27:38 +0000 | |
---|---|---|
committer | 2011-05-16 21:27:38 +0000 | |
commit | 3328d77702fa0e7c29b4d97482a397198324b423 (patch) | |
tree | fc213182d1bc3639eb91afee85d203ef567cf447 | |
parent | murder struct path and make sure smtpd uses simpler structures that do not (diff) | |
download | wireguard-openbsd-3328d77702fa0e7c29b4d97482a397198324b423.tar.xz wireguard-openbsd-3328d77702fa0e7c29b4d97482a397198324b423.zip |
plug leak in make_aliases()
with/ok gilles@
-rw-r--r-- | usr.sbin/smtpd/makemap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/makemap.c b/usr.sbin/smtpd/makemap.c index 31ab5f994c5..6b0797839cc 100644 --- a/usr.sbin/smtpd/makemap.c +++ b/usr.sbin/smtpd/makemap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: makemap.c,v 1.31 2011/05/09 09:36:55 eric Exp $ */ +/* $OpenBSD: makemap.c,v 1.32 2011/05/16 21:27:38 jasper Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -380,7 +380,7 @@ make_aliases(DBT *val, char *text) return (val->size); error: - free(val->data); + free(origtext); return 0; } |