[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-7-gbd4718d

Volker Lendecke vlendec at samba.org
Tue Jan 20 13:36:26 GMT 2009


The branch, master has been updated
       via  bd4718d2812f5f59d890be0284642ab78c3f1bc2 (commit)
      from  bd576b93bd8a136e1da8cbac154aa87ab1873c1c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit bd4718d2812f5f59d890be0284642ab78c3f1bc2
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jan 20 14:34:14 2009 +0100

    Make use of TALLOC_FREE

-----------------------------------------------------------------------

Summary of changes:
 source3/rpc_server/srv_pipe_hnd.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index 7d1f824..e574f03 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -883,9 +883,7 @@ static int close_internal_rpc_pipe_hnd(struct pipes_struct *p)
 		(*p->auth.auth_data_free_func)(&p->auth);
 	}
 
-	if (p->mem_ctx) {
-		talloc_destroy(p->mem_ctx);
-	}
+	TALLOC_FREE(p->mem_ctx);
 
 	free_pipe_rpc_context( p->contexts );
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list