[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-726-gfb8707e

Jeremy Allison jra at samba.org
Sat Apr 11 20:52:12 GMT 2009


The branch, v3-4-test has been updated
       via  fb8707e2c2d1657294b0660064e1b16590d1ca6c (commit)
      from  44576254f8c0d35327cfe8f9928f0efc987b5822 (commit)

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


- Log -----------------------------------------------------------------
commit fb8707e2c2d1657294b0660064e1b16590d1ca6c
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Apr 9 11:40:08 2009 +0200

    Fix a memleak in an unlikely error path in change_notify_create()

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c
index 8ceeaf5..059101c 100644
--- a/source3/smbd/notify.c
+++ b/source3/smbd/notify.c
@@ -209,6 +209,7 @@ NTSTATUS change_notify_create(struct files_struct *fsp, uint32 filter,
 	if (asprintf(&fullpath, "%s/%s", fsp->conn->connectpath,
 		     fsp->fsp_name) == -1) {
 		DEBUG(0, ("asprintf failed\n"));
+		TALLOC_FREE(fsp->notify);
 		return NT_STATUS_NO_MEMORY;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list