diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-04-29 19:16:59 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-04-29 19:16:59 +0000 |
commit | c94cceea9c2262c5b2ad5f215bb9a8ae48b02764 (patch) | |
tree | dbb8174cbf6f1cc45b8de8031b18adb4030509a8 /subversion/libsvn_subr/auth.c | |
parent | dc5d469d6574e9fb03bdd793658bb371315b306a (diff) |
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 2cd83c4ca13a..303c41e5cc05 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; } |