diff options
Diffstat (limited to 'subversion/libsvn_subr/auth.c')
-rw-r--r-- | subversion/libsvn_subr/auth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/subversion/libsvn_subr/auth.c b/subversion/libsvn_subr/auth.c index 2cd83c4ca13a4..303c41e5cc05f 100644 --- a/subversion/libsvn_subr/auth.c +++ b/subversion/libsvn_subr/auth.c @@ -371,7 +371,9 @@ svn_auth_next_credentials(void **credentials, if (creds != NULL) { /* Put the creds in the cache */ - svn_hash_sets(auth_baton->creds_cache, state->cache_key, creds); + svn_hash_sets(auth_baton->creds_cache, + apr_pstrdup(auth_baton->pool, state->cache_key), + creds); break; } |