diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-08-30 06:14:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:25 -0500 |
commit | 833a896f56db2f62aac88b68312ff51f753d4ffe (patch) | |
tree | 085cbe88b4a5d494bcfd05543dcaf2e3ba47d06b /source4 | |
parent | 4db64692e717d10dcd69cc745e8d69a5f4a2be9d (diff) | |
download | samba-833a896f56db2f62aac88b68312ff51f753d4ffe.tar.gz samba-833a896f56db2f62aac88b68312ff51f753d4ffe.tar.bz2 samba-833a896f56db2f62aac88b68312ff51f753d4ffe.zip |
r2104: fixed typo that causes a segv
(This used to be commit e37a4c1a63b914c46155d39c92f226c42a0393b7)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/auth_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c index 06947999b3..123f21406d 100644 --- a/source4/auth/auth_util.c +++ b/source4/auth/auth_util.c @@ -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); |