Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Sep 27 18:51:47 CEST 2011 on sn-devel-104
{
NTSTATUS status;
char *path;
+ bool offline = false;
if (ISDOT(fname->base_name) || ISDOTDOT(fname->base_name)) {
return false;
return false;
}
- return (dmapi_file_flags(path) & FILE_ATTRIBUTE_OFFLINE) != 0;
+ offline = dmapi_file_flags(path) & FILE_ATTRIBUTE_OFFLINE != 0;
+
+ TALLOC_FREE(path);
+
+ return offline;
}
static int vfswrap_set_offline(struct vfs_handle_struct *handle,