mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
Free small, one-time memory leak in xdmcp -from handling
Part of Patch #6046 <https://bugs.freedesktop.org/attachment.cgi?id=6046>
This commit is contained in:
committed by
Alan Coopersmith
parent
91dcac5295
commit
b3c869304c
@@ -1603,6 +1603,10 @@ get_fromaddr_by_name(
|
||||
, &ai, &aifirst
|
||||
#endif
|
||||
);
|
||||
#if defined(IPv6) && defined(AF_INET6)
|
||||
if (aifirst != NULL)
|
||||
freeaddrinfo(aifirst);
|
||||
#endif
|
||||
xdm_from = argv[i];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user