OS: Don't leak connection translation table on regeneration

This commit is contained in:
Daniel Stone 2007-12-28 15:48:25 +02:00
parent 190a050624
commit b2f6cd290c

View File

@ -353,7 +353,8 @@ InitConnectionLimits(void)
#endif
#if !defined(WIN32)
ConnectionTranslation = (int *)xnfalloc(sizeof(int)*(lastfdesc + 1));
if (!ConnectionTranslation)
ConnectionTranslation = (int *)xnfalloc(sizeof(int)*(lastfdesc + 1));
#else
InitConnectionTranslation();
#endif