Commit 5baa68d
yueyuankun
fallback: fix memory leak in find_boot_csv()
In find_boot_csv(), bootcsv and bootarchcsv are allocated by
StrDuplicate() but were not being freed before the function returns,
causing a memory leak.1 parent c4665d2 commit 5baa68d
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
825 | 825 | | |
826 | 826 | | |
827 | 827 | | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
828 | 834 | | |
829 | 835 | | |
830 | 836 | | |
| |||
0 commit comments