reactos/boot/freeldr
Hermès Bélusca-Maïto 3dfbe52699
[FREELDR] fs.c: Minor refactoring in ArcOpen(); fix a memory leak (#7385)
- `ArcOpen()`: flatten the registered-device search for-loop.
  Limit it to just the device search, and exit early.
  The rest of the initialization is now done outside the loop.

- The `DeviceName` string pointer may have been allocated from
  the heap, for path normalization (see `NormalizeArcDeviceName()`).
  This pointer is then only used in the device search loop and not
  nused anymore afterwards. The old code didn't free this pointer
  and memory could leak. This is now fixed easily, thanks to the
  loop flattening.

- Rename `DEVICE` member `Prefix` to `DeviceName`; SAL-annotate
  `FsRegisterDevice()`.
2024-10-01 22:15:11 +02:00
..
bootsect [BOOTSECT][FREELDR] Support booting from NTFS partitions (#3416) 2023-08-17 15:07:59 +02:00
fdebug [FDEBUG] *.rc: Less outdated version-hardcodes (#7383) 2024-09-28 21:23:28 +02:00
freeldr [FREELDR] fs.c: Minor refactoring in ArcOpen(); fix a memory leak (#7385) 2024-10-01 22:15:11 +02:00
install [FREELDR][INSTALL][FDEBUG] Include FreeLDR tools in LiveCD and HybridCD (#2550) 2020-04-15 12:37:21 +02:00
tools
CMakeLists.txt
FREELDR.INI [FREELDR] Merge boot-drive and partition functionalities together (#6760) 2024-04-19 21:45:41 +02:00
notes.txt