summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-04-08 07:54:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:51 -0500
commit5d221987c7aad409b78c31f8eed3059d7fb317c3 (patch)
tree573145327a3072063d18ba61e146af93ab7b1075 /source4
parentb4aa2ec6bad3a6eb106b94a3c62601cd8a072b88 (diff)
downloadsamba-5d221987c7aad409b78c31f8eed3059d7fb317c3.tar.gz
samba-5d221987c7aad409b78c31f8eed3059d7fb317c3.tar.bz2
samba-5d221987c7aad409b78c31f8eed3059d7fb317c3.zip
r14990: talloc_reference() can fail
metze (This used to be commit 4410d7ea5d356f9a04f419f7254a60c20b1345c0)
Diffstat (limited to 'source4')
-rw-r--r--source4/ntvfs/posix/pvfs_notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/pvfs_notify.c b/source4/ntvfs/posix/pvfs_notify.c
index 592beb5a3e..ea4c0b2bc6 100644
--- a/source4/ntvfs/posix/pvfs_notify.c
+++ b/source4/ntvfs/posix/pvfs_notify.c
@@ -236,6 +236,7 @@ NTSTATUS pvfs_notify(struct ntvfs_module_context *ntvfs,
NT_STATUS_HAVE_NO_MEMORY(pending);
pending->req = talloc_reference(pending, req);
+ NT_STATUS_HAVE_NO_MEMORY(pending->req);
pending->info = info;
DLIST_ADD_END(f->notify_buffer->pending, pending, struct notify_pending *);