summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-04-23 01:05:26 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-04-23 01:05:26 +0000
commit0e26a6d3f5fc7616ca5caacf3ed39c8c40091c99 (patch)
treeb69a704768a11eca56a75e6554dd10e461a1fffc /source3
parent846a773bda69ecbf512f8e455e5695dbf868cda7 (diff)
downloadsamba-0e26a6d3f5fc7616ca5caacf3ed39c8c40091c99.tar.gz
samba-0e26a6d3f5fc7616ca5caacf3ed39c8c40091c99.tar.bz2
samba-0e26a6d3f5fc7616ca5caacf3ed39c8c40091c99.zip
Don't leak the session identifier string when we shut down a vuid.
Andrew Bartlett (This used to be commit 33189b4be0ac79d5e7bc2606f40187118ee506a4)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/password.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 784c1525c8..b47dcc0a97 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -68,6 +68,7 @@ void invalidate_vuid(uint16 vuid)
SAFE_FREE(vuser->logon_script);
session_yield(vuser);
+ SAFE_FREE(vuser->session_keystr);
free_server_info(&vuser->server_info);