mirror of https://github.com/RT-Thread/rt-thread
[DM/BLOCK] Fixup DFS partition memory leak
Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
parent
e221cd59f4
commit
825e87d2cf
|
@ -49,5 +49,7 @@ rt_err_t dfs_partition(struct rt_blk_disk *disk)
|
|||
}
|
||||
}
|
||||
|
||||
rt_free(sector);
|
||||
|
||||
return RT_EOK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue