diff --git a/components/drivers/block/partitions/dfs.c b/components/drivers/block/partitions/dfs.c index da4605e512b..3fdad1a1d6a 100644 --- a/components/drivers/block/partitions/dfs.c +++ b/components/drivers/block/partitions/dfs.c @@ -49,5 +49,7 @@ rt_err_t dfs_partition(struct rt_blk_disk *disk) } } + rt_free(sector); + return RT_EOK; }