HomeFreeBSD

logger: fix memory leak and use-after-free

Description

logger: fix memory leak and use-after-free

This one call to getaddrinfo() did not adhere to the common idiom
of storing the result into a second res0 variable, which is later freed.

Reported by: Coverity
CID: 1368069 1368071
Sponsored by: Dell EMC

Details

Provenance
vangyzenAuthored on
Parents
rS334269: drm: fix memory leak on error path
Branches
Unknown
Tags
Unknown