summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-05-21 08:24:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:16 -0500
commit017855b766892090837791822f7380a32c30480d (patch)
treec524ea1d416b819a05a2e73867b4cbabeb69d136 /source4/ntvfs
parente1cc2636d15cc6f29f090afbe7964d20c6529cfc (diff)
downloadsamba-017855b766892090837791822f7380a32c30480d.tar.gz
samba-017855b766892090837791822f7380a32c30480d.tar.bz2
samba-017855b766892090837791822f7380a32c30480d.zip
r15767: we need to free here
metze (This used to be commit 98890052fec7ba4a8bf4e07a6b000d04d768f581)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/ntvfs_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/ntvfs_util.c b/source4/ntvfs/ntvfs_util.c
index de19a9c352..fec119b653 100644
--- a/source4/ntvfs/ntvfs_util.c
+++ b/source4/ntvfs/ntvfs_util.c
@@ -58,8 +58,8 @@ _PUBLIC_ struct ntvfs_request *ntvfs_request_create(struct ntvfs_context *ctx, T
DLIST_ADD(req->async_states, async);
return req;
-
failed:
+ talloc_free(req);
return NULL;
}