[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Sat Jan 1 22:12:02 MST 2011


The branch, master has been updated
       via  9d754da Fix memory leak I introduced when refactoring unexpected packet code. Found by Volker.
      from  9ccef4e s3: Remove unused mem_ctx arg from set_getdc_request

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


- Log -----------------------------------------------------------------
commit 9d754da1120d21e7e1021ca0366cceedca0ee823
Author: Jeremy Allison <jra at samba.org>
Date:   Sat Jan 1 20:23:49 2011 -0800

    Fix memory leak I introduced when refactoring unexpected packet code.
    Found by Volker.
    
    Jeremy.
    
    Autobuild-User: Jeremy Allison <jra at samba.org>
    Autobuild-Date: Sun Jan  2 06:11:13 CET 2011 on sn-devel-104

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

Summary of changes:
 source3/libsmb/unexpected.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/unexpected.c b/source3/libsmb/unexpected.c
index 0f4227d..3934cba 100644
--- a/source3/libsmb/unexpected.c
+++ b/source3/libsmb/unexpected.c
@@ -232,6 +232,7 @@ void clear_unexpected(time_t t)
 		pu_next = pu->next;
 		if (pu->timeout < t) {
 			DLIST_REMOVE(pu_list, pu);
+			SAFE_FREE(pu);
 		}
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list