summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-04-08 20:57:00 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-04-08 20:57:00 +0000
commit431db2481ef2df2f8b0b0c4a1feffcabb119a425 (patch)
tree27cba79b394b6d88739021635bc1ea596b320867
parentaf27d540d867318d92d5842ad95c1f8534e27dc7 (diff)
missing free(pagname); noticed by vincent
-rw-r--r--usr.sbin/httpd/src/lib/sdbm/sdbm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/httpd/src/lib/sdbm/sdbm.c b/usr.sbin/httpd/src/lib/sdbm/sdbm.c
index 6aac7be6543..914dc6f4339 100644
--- a/usr.sbin/httpd/src/lib/sdbm/sdbm.c
+++ b/usr.sbin/httpd/src/lib/sdbm/sdbm.c
@@ -93,6 +93,7 @@ register int mode;
db = sdbm_prep(dirname, pagname, flags, mode);
free((char *) dirname);
+ free((char *) pagname);
return db;
}