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:
parent
1b76eccb37
commit
53bd56ccf9
@ -77,6 +77,7 @@ static int dfs_devfs_open(struct dfs_file *file)
|
||||
}
|
||||
}
|
||||
}
|
||||
rt_free(device_name);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user