Merge from 3.0:
authorTim Potter <tpot@samba.org>
Wed, 28 May 2003 00:52:24 +0000 (00:52 +0000)
committerTim Potter <tpot@samba.org>
Wed, 28 May 2003 00:52:24 +0000 (00:52 +0000)
>Restore a number of fixes that idra removed when he merged his
>idmap-and-the-rest from HEAD.
>
>These are correctness fixes that were already in 3.0, and a memory leak fix.
>
>The pdb_ldap changes are held back at jerry's request (he is also playing
>with pdb_ldap ATM).
>
>Andrew Bartlett
(This used to be commit d2bc89b860a19ccdda7189b8db0a740f224046f2)

source3/smbd/password.c

index 81849b709a20df6ee3de3b411bba175849c505e0..283eed73ef7de8a8dfd82484a1f945a28b0f3d22 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);