The branch, v3-3-test has been updated via 42a2678c2f78b3c9ff59c57eb8132fd3698b5710 (commit) from f63751ad272b9caade7855665b8a3352cefe2ae7 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test - Log ----------------------------------------------------------------- commit 42a2678c2f78b3c9ff59c57eb8132fd3698b5710 Author: Volker Lendecke <v...@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 e79cf56..5aa85b4 100644 --- a/source/smbd/notify.c +++ b/source/smbd/notify.c @@ -234,6 +234,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