Skip to content

fallback: fix memory leak in find_boot_csv()#790

Open
yueyuankun wants to merge 1 commit intorhboot:mainfrom
yueyuankun:fix/fallback
Open

fallback: fix memory leak in find_boot_csv()#790
yueyuankun wants to merge 1 commit intorhboot:mainfrom
yueyuankun:fix/fallback

Conversation

@yueyuankun
Copy link

In find_boot_csv(), bootcsv and bootarchcsv are allocated by StrDuplicate() but were not being freed before the function returns, causing a memory leak.

In find_boot_csv(), bootcsv and bootarchcsv are allocated by
StrDuplicate() but were not being freed before the function returns,
causing a memory leak.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant