OS: Don't leak connection translation table on regeneration
This commit is contained in:
parent
190a050624
commit
b2f6cd290c
|
@ -353,6 +353,7 @@ InitConnectionLimits(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(WIN32)
|
#if !defined(WIN32)
|
||||||
|
if (!ConnectionTranslation)
|
||||||
ConnectionTranslation = (int *)xnfalloc(sizeof(int)*(lastfdesc + 1));
|
ConnectionTranslation = (int *)xnfalloc(sizeof(int)*(lastfdesc + 1));
|
||||||
#else
|
#else
|
||||||
InitConnectionTranslation();
|
InitConnectionTranslation();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user