Author: metze
Date: 2006-04-08 07:54:15 +0000 (Sat, 08 Apr 2006)
New Revision: 14990

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14990

Log:
talloc_reference() can fail

metze
Modified:
   branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c


Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c 2006-04-08 05:09:12 UTC 
(rev 14989)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_notify.c 2006-04-08 07:54:15 UTC 
(rev 14990)
@@ -236,6 +236,7 @@
        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 
*);

Reply via email to