Don't leak the session identifier string when we shut down a vuid.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 23 Apr 2003 01:05:26 +0000 (01:05 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 23 Apr 2003 01:05:26 +0000 (01:05 +0000)
Andrew Bartlett
(This used to be commit 33189b4be0ac79d5e7bc2606f40187118ee506a4)

source3/smbd/password.c

index 784c1525c897162da24f800f046bd0024837a7d5..b47dcc0a9765926ec8e3ea75185a7917fb0ea725 100644 (file)
@@ -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);