From 48c373c213d9f49404da032283ccdd772e1e1b10 Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Sat, 20 Oct 2007 17:54:09 +0000 Subject: [PATCH] apr_dbd_get_entry from r466865 doesn't alloc new memory for each return val. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@586765 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/mod_authn_dbd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/aaa/mod_authn_dbd.c b/modules/aaa/mod_authn_dbd.c index c81e311185..2902828376 100644 --- a/modules/aaa/mod_authn_dbd.c +++ b/modules/aaa/mod_authn_dbd.c @@ -148,8 +148,8 @@ static authn_status authn_dbd_password(request_rec *r, const char *user, } j++; } - apr_table_setn(r->subprocess_env, str, - apr_dbd_get_entry(dbd->driver, row, i)); + apr_table_set(r->subprocess_env, str, + apr_dbd_get_entry(dbd->driver, row, i)); i++; } #endif @@ -232,8 +232,8 @@ static authn_status authn_dbd_realm(request_rec *r, const char *user, } j++; } - apr_table_setn(r->subprocess_env, str, - apr_dbd_get_entry(dbd->driver, row, i)); + apr_table_set(r->subprocess_env, str, + apr_dbd_get_entry(dbd->driver, row, i)); i++; } #endif -- 2.50.1