From: Nick Kew Date: Sat, 20 Oct 2007 17:54:09 +0000 (+0000) Subject: apr_dbd_get_entry from r466865 doesn't alloc new memory for each return val. X-Git-Tag: 2.3.0~1323 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=48c373c213d9f49404da032283ccdd772e1e1b10;p=apache 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 --- 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