1
1
Adrian Knoth 4b50f02126 Only free res iff it's been allocated before. Re #1201
This patch fixes the segfault, so closing the ticket might be possible.
It's a very conservative patch. Perhaps the freeaddrinfo spec says that
it will never allocate res in case of errors, but for now, I neither
have the spec nor the will to rely on it.

This commit was SVN r17150.
2008-01-17 10:01:52 +00:00
..
2006-09-26 20:30:49 +00:00
2007-02-06 21:59:55 +00:00
2008-01-09 20:37:02 +00:00
2007-12-07 15:56:07 +00:00