Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
socket: fix potential memory leak in connect()
If a non-string value which cannot be interpreted as socket address structure is passed to connect(), the function will leak the internal address vector when returning the error. Signed-off-by: Jo-Philipp Wich <[email protected]>
- Loading branch information