From de2ccc5ca93e0a0476aa829afd987cc043479e91 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 21 Dec 2004 11:43:46 +0000 Subject: r4313: fixed a bug in handling new xattrs in the tdb xattr backend (This used to be commit c66b5a100c1b83adf034087fe2ce49fc77d84161) --- source4/ntvfs/posix/xattr_tdb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/ntvfs/posix') diff --git a/source4/ntvfs/posix/xattr_tdb.c b/source4/ntvfs/posix/xattr_tdb.c index 08a2ea4c18..12fe50c277 100644 --- a/source4/ntvfs/posix/xattr_tdb.c +++ b/source4/ntvfs/posix/xattr_tdb.c @@ -47,8 +47,7 @@ static NTSTATUS xattr_tdb_add_list(struct pvfs_state *pvfs, const char *attr_nam status = pull_xattr_blob_tdb(pvfs, mem_ctx, XATTR_LIST_ATTR, fname, fd, 100, &blob); if (!NT_STATUS_IS_OK(status)) { - talloc_free(mem_ctx); - return NT_STATUS_OK; + blob = data_blob(NULL, 0); } for (s=blob.data; s < (char *)(blob.data+blob.length); s += strlen(s) + 1) { -- cgit