git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68038ef
)
r14990: talloc_reference() can fail
author
Stefan Metzmacher
<metze@samba.org>
Sat, 8 Apr 2006 07:54:15 +0000
(07:54 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:00:51 +0000
(14:00 -0500)
metze
source/ntvfs/posix/pvfs_notify.c
patch
|
blob
|
history
diff --git
a/source/ntvfs/posix/pvfs_notify.c
b/source/ntvfs/posix/pvfs_notify.c
index 592beb5a3eb8092d7951a42adc76d26c4cc35a09..ea4c0b2bc65f3b7643e156aeb9b02d573fe4b375 100644
(file)
--- a/
source/ntvfs/posix/pvfs_notify.c
+++ b/
source/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 *);