[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-5068-g3751ea7

Volker Lendecke vlendec at samba.org
Sun Mar 15 11:04:31 GMT 2009


The branch, v3-3-test has been updated
       via  3751ea72f225e370c52b842f258a828ff4a596fd (commit)
      from  6e7a0a28e9aadda7f6a5891820ffd60a31d14789 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 3751ea72f225e370c52b842f258a828ff4a596fd
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Mar 15 11:58:07 2009 +0100

    Fix a malloc/talloc mismatch when cli_initialise() fails

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

Summary of changes:
 source/libsmb/clientgen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/libsmb/clientgen.c b/source/libsmb/clientgen.c
index b51eb47..cb8f827 100644
--- a/source/libsmb/clientgen.c
+++ b/source/libsmb/clientgen.c
@@ -515,7 +515,7 @@ struct cli_state *cli_initialise(void)
 
         SAFE_FREE(cli->inbuf);
         SAFE_FREE(cli->outbuf);
-	SAFE_FREE(cli);
+	TALLOC_FREE(cli);
         return NULL;
 }
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list