aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Millis.h
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-06-17 20:25:09 +0200
committerUlrich Sibiller <uli42@gmx.de>2019-06-19 00:49:57 +0200
commit4dd1f3cbdff984ff55bc2f88c64b2544c8d88148 (patch)
tree8f454c4519a3694649df4e53a81ed4c4b3673654 /nx-X11/programs/Xserver/hw/nxagent/Millis.h
parentca741177e8a36f0eb5e84a047681bfd2edd3e3ba (diff)
downloadnx-libs-4dd1f3cbdff984ff55bc2f88c64b2544c8d88148.tar.gz
nx-libs-4dd1f3cbdff984ff55bc2f88c64b2544c8d88148.tar.bz2
nx-libs-4dd1f3cbdff984ff55bc2f88c64b2544c8d88148.zip
Fix memleaks: Free devPrivates of devices on shutdown
Fixes these two memory leaks identified by valgrind: ==28336== 32 (8 direct, 24 indirect) bytes in 1 blocks are definitely lost in loss record 180 of 308 ==28336== at 0x48356AF: malloc (vg_replace_malloc.c:298) ==28336== by 0x4837DE7: realloc (vg_replace_malloc.c:826) ==28336== by 0x1AE322: AllocateDevicePrivate (privates.c:439) ==28336== by 0x27527B: XkbSetExtension (xkbActions.c:72) ==28336== by 0x198E9B: _RegisterPointerDevice (devices.c:361) ==28336== by 0x1DBA35: InitInput (Init.c:440) ==28336== by 0x14DBD6: main (main.c:303) ==28336== ==28336== 32 (8 direct, 24 indirect) bytes in 1 blocks are definitely lost in loss record 181 of 308 ==28336== at 0x48356AF: malloc (vg_replace_malloc.c:298) ==28336== by 0x4837DE7: realloc (vg_replace_malloc.c:826) ==28336== by 0x1AE322: AllocateDevicePrivate (privates.c:439) ==28336== by 0x27527B: XkbSetExtension (xkbActions.c:72) ==28336== by 0x198F1B: _RegisterKeyboardDevice (devices.c:384) ==28336== by 0x1DBA3D: InitInput (Init.c:441) ==28336== by 0x14DBD6: main (main.c:303)
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Millis.h')
0 files changed, 0 insertions, 0 deletions