summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-05-10 09:44:29 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-05-10 11:04:44 +1000
commit34b0d07ebf4a7874fe7fd336bef5bbdd8debda1c (patch)
tree1c7c91267d35e6f00426e0e36545a7e5cb1d5c30 /dix
parent67c66606c760c263d7a4c2d1bba43ed6225a4e7c (diff)
dix: reset the OsBuffers after killing all clients
==21860== 24 bytes in 1 blocks are still reachable in loss record 85 of 397 ==21860== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==21860== by 0x61ED93: AllocateOutputBuffer (io.c:1037) ==21860== by 0x61E15A: WriteToClient (io.c:764) ==21860== by 0x457B30: ProcQueryExtension (extension.c:275) ==21860== by 0x43596B: Dispatch (dispatch.c:432) ==21860== by 0x425DAB: main (main.c:295) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'dix')
-rw-r--r--dix/dispatch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c
index 90b6c7c00..1363f223d 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -465,6 +465,7 @@ Dispatch(void)
free(clientReady);
dispatchException &= ~DE_RESET;
SmartScheduleLatencyLimited = 0;
+ ResetOsBuffers();
}
static int VendorRelease = VENDOR_RELEASE;