summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/sesssetup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index ac8ba91ff7..f9d52e9be4 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -59,7 +59,7 @@ static NTSTATUS check_guest_password(auth_serversupplied_info **server_info)
nt_status = check_password(user_info, auth_info, server_info);
free_auth_info(&auth_info);
- SAFE_FREE(user_info);
+ free_user_info(&user_info);
return nt_status;
}