Fix memleak. Remove dead code.

edge.strict_endians
uvman 2006-10-28 23:08:24 +00:00
parent 08db1a719b
commit 8fd26af3fb
1 changed files with 1 additions and 2 deletions

View File

@ -78,8 +78,6 @@ s64 ntfs_get_attribute_value_length(const ATTR_RECORD *a)
return sle64_to_cpu(a->data_size);
else
return (s64)le32_to_cpu(a->value_length);
errno = EINVAL;
return 0;
}
/**
@ -254,6 +252,7 @@ s64 ntfs_get_attribute_value(const ntfs_volume *vol,
errno = EIO;
}
#undef ESTR
free(rl);
return 0;
}
total += r;