diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2011-05-16 21:27:39 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2011-05-16 21:27:39 +0000 |
commit | 17a72b995af7c21717251f1a78b0d8972add486d (patch) | |
tree | f01918fbfa196791b3e2c089faac475bbdf9a314 /usr.sbin | |
parent | 5e214bf2f9e80611a8b62614bf245d0b6df10679 (diff) |
plug leak in make_aliases()
with/ok gilles@
Diffstat (limited to 'usr.sbin')
-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; } |