HomeFreeBSD

Fix CID 1215129: move the call to lseek(2) before the call to malloc(3)

Description

Fix CID 1215129: move the call to lseek(2) before the call to malloc(3)
so that the error path (taken due to lseek(2) failing) isn't leaking
memory.

Details

Provenance
marcelAuthored on
Parents
rS266508: Implement interrupt endpoint methods for host mode transfers.
Branches
Unknown
Tags
Unknown

Event Timeline