summaryrefslogtreecommitdiff
path: root/dix/ptrveloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'dix/ptrveloc.c')
-rw-r--r--dix/ptrveloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c
index 632971ed9..79765e98b 100644
--- a/dix/ptrveloc.c
+++ b/dix/ptrveloc.c
@@ -143,6 +143,7 @@ InitPredictableAccelerationScheme(DeviceIntPtr dev,
schemeData->vel = vel;
scheme.accelData = schemeData;
if (!InitializePredictableAccelerationProperties(dev, vel, schemeData)) {
+ FreeVelocityData(vel);
free(vel);
free(schemeData);
return FALSE;