[quake3-commits] r2235 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Apr 5 17:29:51 EDT 2012
Author: ztm
Date: 2012-04-05 17:29:51 -0400 (Thu, 05 Apr 2012)
New Revision: 2235
Modified:
trunk/code/qcommon/net_ip.c
Log:
#5439 - Potential memory leak in host name resolution. (Eugene C.)
Modified: trunk/code/qcommon/net_ip.c
===================================================================
--- trunk/code/qcommon/net_ip.c 2012-04-04 17:21:17 UTC (rev 2234)
+++ trunk/code/qcommon/net_ip.c 2012-04-05 21:29:51 UTC (rev 2235)
@@ -317,7 +317,7 @@
search->ai_addrlen = sadr_len;
memcpy(sadr, search->ai_addr, search->ai_addrlen);
- freeaddrinfo(search);
+ freeaddrinfo(res);
return qtrue;
}
More information about the quake3-commits
mailing list