Author: tridge Date: 2004-12-21 11:43:46 +0000 (Tue, 21 Dec 2004) New Revision: 4313
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4313 Log: fixed a bug in handling new xattrs in the tdb xattr backend Modified: branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c Changeset: Modified: branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c =================================================================== --- branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c 2004-12-21 11:10:28 UTC (rev 4312) +++ branches/SAMBA_4_0/source/ntvfs/posix/xattr_tdb.c 2004-12-21 11:43:46 UTC (rev 4313) @@ -47,8 +47,7 @@ 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) {