diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-02-27 16:43:10 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-02-15 14:39:27 +1000 |
commit | f9198e278becec158b570204cf9fc1de822ac76b (patch) | |
tree | 43cd68bae75f9aea48883065042f68036dc287b9 /dix/main.c | |
parent | 88517ced1fa2e621be2d05a319b522b3111da516 (diff) |
dix: FreeAllAtoms() on reset
==5712== 6 bytes in 1 blocks are still reachable in loss record 17 of 585
==5712== at 0x4A074CD: malloc (vg_replace_malloc.c:236)
==5712== by 0x3D1DE885B1: strndup (strndup.c:46)
==5712== by 0x41CB71: MakeAtom (atom.c:121)
==5712== by 0x55AE3E: XIGetKnownProperty (xiproperty.c:401)
==5712== by 0x4251C9: AddInputDevice (devices.c:312)
==5712== by 0x42AC0C: AllocDevicePair (devices.c:2657)
==5712== by 0x425E6E: InitCoreDevices (devices.c:677)
==5712== by 0x5ACA05: main (main.c:257)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'dix/main.c')
-rw-r--r-- | dix/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dix/main.c b/dix/main.c index fb935c969..bea1a8d5a 100644 --- a/dix/main.c +++ b/dix/main.c @@ -357,6 +357,8 @@ main(int argc, char *argv[], char *envp[]) FreeFonts(); + FreeAllAtoms(); + FreeAuditTimer(); if (dispatchException & DE_TERMINATE) { |