fix dfs statfs fullpath leak

This commit is contained in:
Old-Ding
2026-07-01 12:23:26 +08:00
committed by Rbb666
parent 0c25ffa18e
commit 9b9e6fb7b0
+3 -1
View File
@@ -650,6 +650,8 @@ int dfs_statfs(const char *path, struct statfs *buffer)
}
}
rt_free(fullpath);
return ret;
}
@@ -723,4 +725,4 @@ int dfs_filesystem_get_partition(struct dfs_partition *part,
return RT_EOK;
}
/* @} */
/* @} */