Skip to content

Commit

Permalink
[components][dfs_v2]: Fix dfs_devfs_open memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
wycwyhwyq authored and Rbb666 committed Jan 9, 2025
1 parent 1b76ecc commit 53bd56c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/dfs/dfs_v2/filesystems/devfs/devfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ static int dfs_devfs_open(struct dfs_file *file)
}
}
}
rt_free(device_name);
}

return ret;
Expand Down

0 comments on commit 53bd56c

Please sign in to comment.