/[Apache-SVN]
ViewVC logotype

Revision 1700740


Jump to revision: Previous Next
Author: rhuijben
Date: Wed Sep 2 09:15:02 2015 UTC (9 years, 2 months ago)
Changed paths: 1
Log Message:
In the kwallet code: Initialize the wallet cache once, instead
of every time we get or save a password. Cache the wallet in the
parameter hash and its pool instead of the single invocation pool.

This patch is in response to an issue
Found by: James McCoy <jamessan{_AT_}debian.org>

* subversion/libsvn_auth_kwallet/kwallet.cpp
  (kwallet_terminate): Add forward definition.
  (get_wallet): Register pool cleanup handler once, and only when we set
    the wallet. Register cleanup on the hash pool.
  (kwallet_terminate): Completely cleanup.

  (kwallet_password_get,
   kwallet_password_set): Don't add another cleanup hook on every invocation.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_auth_kwallet/kwallet.cpp modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26