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:
parent
4db64692e7
commit
833a896f56
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user