mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
OS: Don't leak connection translation table on regeneration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user