summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-08-30 06:14:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:25 -0500
commit833a896f56db2f62aac88b68312ff51f753d4ffe (patch)
tree085cbe88b4a5d494bcfd05543dcaf2e3ba47d06b /source4
parent4db64692e717d10dcd69cc745e8d69a5f4a2be9d (diff)
downloadsamba-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.c2
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);