git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4aa2ec
)
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
(This used to be commit
4410d7ea5d356f9a04f419f7254a60c20b1345c0
)
source4/ntvfs/posix/pvfs_notify.c
patch
|
blob
|
history
diff --git
a/source4/ntvfs/posix/pvfs_notify.c
b/source4/ntvfs/posix/pvfs_notify.c
index 592beb5a3eb8092d7951a42adc76d26c4cc35a09..ea4c0b2bc65f3b7643e156aeb9b02d573fe4b375 100644
(file)
--- 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 *);