1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r2104: fixed typo that causes a segv

(This used to be commit e37a4c1a63)
This commit is contained in:
Andrew Tridgell 2004-08-30 06:14:18 +00:00 committed by Gerald (Jerry) Carter
parent 4db64692e7
commit 833a896f56

View File

@ -619,7 +619,7 @@ NTSTATUS make_session_info(struct auth_serversupplied_info *server_info,
void free_session_info(struct auth_session_info **session_info)
{
DEBUG(5,("attempting to free a session_info structure\n"));
if (!*session_info) {
if (*session_info) {
(*session_info)->refcount--;
if ((*session_info)->refcount <= 0) {
talloc_destroy((*session_info)->mem_ctx);