/**
Return a string representing a CIFS attribute for a file.
**/
-_PUBLIC_ char *attrib_string(TALLOC_CTX *mem_ctx, uint32_t attrib)
+char *attrib_string(TALLOC_CTX *mem_ctx, uint32_t attrib)
{
int i, len;
const struct {
ret[len] = 0;
+ talloc_set_name_const(ret, ret);
+
return ret;
}
break;
case RAW_CLOSE_SMB2:
+ case RAW_CLOSE_GENERIC:
return NULL;
}