branch update for ntfsprogs_200309071734
[ntfsprogs.git] / libntfs / attrib.c
index d8cc670..c80ddfa 100644 (file)
@@ -382,8 +382,6 @@ err_out:
  */
 void ntfs_attr_close(ntfs_attr *na)
 {
-       if (!na)
-               return;
        if (NAttrNonResident(na) && na->rl)
                free(na->rl);
        /* Don't release if using an internal constant. */
@@ -2460,6 +2458,9 @@ put_err_out:
        return -1;
 }
 
+/**
+ * ntfs_attr_make_resident - 
+ */
 static int ntfs_attr_make_resident(ntfs_attr *na, ntfs_attr_search_ctx *ctx)
 {
        // FIXME: For now we cheat and assume there is no attribute list