[PATCH xserver 0/3] Memory leak fixes.

Rami Ylimäki rami.ylimaki at vincit.fi
Fri Mar 4 07:55:30 PST 2011


Here are some memory leak fixes written and tested against X server
1.9. By looking at the code, they should be valid against latest X
server as well. The use case to expose the leaks was the same used to
expose the evdev leaks: keep connecting and disconnecting a bluetooth
keyboard repeatedly.

Rami Ylimäki (3):
  xkb: Ensure that XKB device private won't leak on device disconnect.
  dix: Release input device config info when the device disconnects.
  config: Ensure that stolen option list elements are released.

 config/hal.c     |    6 +++---
 config/udev.c    |    6 +++---
 dix/devices.c    |    2 ++
 xkb/xkbActions.c |   11 ++---------
 4 files changed, 10 insertions(+), 15 deletions(-)

More information about the xorg-devel mailing list