[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
[sfrench/samba-autobuild/.git] / source3 / smbd / session.c
index c7cdf41fb5b0ed19c4feb1512e6ea68252d91fa7..8dd321fad7c4d8f84e5f91669e92ccb02271ae73 100644 (file)
@@ -201,12 +201,9 @@ BOOL session_claim(user_struct *vuser)
                               sessionid.id_str, sessionid.id_num);
        }
 
-       TALLOC_FREE(rec);
-
        vuser->session_keystr = talloc_strdup(vuser, keystr);
        if (!vuser->session_keystr) {
-               DEBUG(0, ("session_claim:  talloc_strdup() failed for "
-                         "session_keystr\n"));
+               DEBUG(0, ("session_claim:  talloc_strdup() failed for session_keystr\n"));
                return False;
        }
        return True;