4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 13:03:42 +08:00

[components][dfs_v2]: Fix dfs_devfs_open memory leak

This commit is contained in:
wycwyhwyq 2025-01-09 15:27:06 +08:00 committed by Rbb666
parent 1b76eccb37
commit 53bd56ccf9

View File

@ -77,6 +77,7 @@ static int dfs_devfs_open(struct dfs_file *file)
}
}
}
rt_free(device_name);
}
return ret;