freeradius-client icon indicating copy to clipboard operation
freeradius-client copied to clipboard

getaddrinfo memory leaks

Open fxdupont opened this issue 6 years ago • 0 comments

Running an application with valgrind it found two getaddrinfo (missing call to freeaddrinfo) memory leaks:

  • in rc_own_bind_addr (seems trivial to fix)

  • in rc_find_server_addr (complex code, IMHO there are some ways to return from it without freeing the getaddrinfo result)

fxdupont avatar Nov 27 '18 09:11 fxdupont