mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 09:02:20 +08:00
[DM/BLOCK] Fixup DFS partition memory leak
Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
@@ -49,5 +49,7 @@ rt_err_t dfs_partition(struct rt_blk_disk *disk)
|
||||
}
|
||||
}
|
||||
|
||||
rt_free(sector);
|
||||
|
||||
return RT_EOK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user