The Samba-Bugzilla – Attachment 5648 Details for
Bug 7384
dptr_Close has a bitmap leak.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dptr_Close patch.
dirs.patch (text/plain), 755 bytes, created by
Ira Cooper
on 2010-04-22 06:02:38 UTC
(
hide
)
Description:
dptr_Close patch.
Filename:
MIME Type:
Creator:
Ira Cooper
Created:
2010-04-22 06:02:38 UTC
Size:
755 bytes
patch
obsolete
>commit d93ac413aef8d4b90a41d787ffc24cb34774810a >Author: Ira Cooper <samba@ira.wakeful.net> >Date: Thu Apr 22 06:54:49 2010 -0400 > > 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. > >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; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7384
: 5648 |
5651