The branch, master has been updated
       via  dd20259... Fix bug #7384 - dptr_Close has a bitmap leak.
      from  350f4e3... At simo's request return struct tevent_req *treq -> 
treq. For consistency :-(.

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


- Log -----------------------------------------------------------------
commit dd2025947136f28b22b70de59309e149a1f45f3d
Author: Ira Cooper <sa...@ira.wakeful.net>
Date:   Fri Apr 23 10:55:46 2010 -0700

    Fix bug #7384 - dptr_Close has a bitmap leak.
    
    s3: Fix to dptr_Close
    
    This fixes a bitmap "leak" in dptr_Close by making it use the same internal
    routines the rest of the code does.

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index aa7032d..935810b 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -555,9 +555,7 @@ NTSTATUS dptr_create(connection_struct *conn, const char 
*path, bool old_handle,
 
 int dptr_CloseDir(struct dptr_struct *dptr)
 {
-       struct smbd_server_connection *sconn = dptr->conn->sconn;
-       DLIST_REMOVE(sconn->smb1.searches.dirptrs, dptr);
-       TALLOC_FREE(dptr->dir_hnd);
+       dptr_close_internal(dptr);
        return 0;
 }
 


-- 
Samba Shared Repository

Reply via email to