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

Jeremy Allison jra at samba.org
Sat Apr 11 20:55:19 GMT 2009


The branch, v3-2-test has been updated
       via  7284b7bb226990abce91d40782bf4e592e2f7b4d (commit)
      from  eb29aa406f14397e3c55e559e2c02da6eb6c4cbd (commit)

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


- Log -----------------------------------------------------------------
commit 7284b7bb226990abce91d40782bf4e592e2f7b4d
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Apr 11 13:54:06 2009 -0700

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

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

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


Changeset truncated at 500 lines:

diff --git a/source/smbd/notify.c b/source/smbd/notify.c
index 55a5e69..d1cd8df 100644
--- a/source/smbd/notify.c
+++ b/source/smbd/notify.c
@@ -231,6 +231,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