svn commit: samba r2104 - in branches/SAMBA_4_0/source/auth: .

tridge at samba.org tridge at samba.org
Mon Aug 30 06:14:18 GMT 2004


Author: tridge
Date: 2004-08-30 06:14:18 +0000 (Mon, 30 Aug 2004)
New Revision: 2104

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/auth&rev=2104&nolog=1

Log:
fixed typo that causes a segv

Modified:
   branches/SAMBA_4_0/source/auth/auth_util.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/auth_util.c
===================================================================
--- branches/SAMBA_4_0/source/auth/auth_util.c	2004-08-30 05:35:30 UTC (rev 2103)
+++ branches/SAMBA_4_0/source/auth/auth_util.c	2004-08-30 06:14:18 UTC (rev 2104)
@@ -619,7 +619,7 @@
 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);



More information about the samba-cvs mailing list