summaryrefslogtreecommitdiff
path: root/source3/nsswitch/libwbclient/wbc_pwd.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-03 12:07:02 +0100
committerMichael Adam <obnox@samba.org>2008-01-03 12:07:02 +0100
commit0240d175bf896230891a3ffadba747a0143d9232 (patch)
tree15a0d4942685131732952f327c34995308da5ca5 /source3/nsswitch/libwbclient/wbc_pwd.c
parent984aa7a1560a4d052a0c8260d230be4b89303bd7 (diff)
downloadsamba-0240d175bf896230891a3ffadba747a0143d9232.tar.gz
samba-0240d175bf896230891a3ffadba747a0143d9232.tar.bz2
samba-0240d175bf896230891a3ffadba747a0143d9232.zip
Return existsing cache_tree if it has already been initialized.
So reghook_cache_init() does not leak memory when called more than once. Also, fix the return value while we are at it. Michael (This used to be commit 25f571f40a630bff5a47bba6b01e42d4e0ffed66)
Diffstat (limited to 'source3/nsswitch/libwbclient/wbc_pwd.c')
0 files changed, 0 insertions, 0 deletions