summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dix/ptrveloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c
index 1759f1053..37c8e5178 100644
--- a/dix/ptrveloc.c
+++ b/dix/ptrveloc.c
@@ -155,7 +155,6 @@ AccelSetProfileProperty(DeviceIntPtr dev, Atom atom,
if (!vel)
return BadValue;
rc = XIPropToInt(val, &nelem, &ptr);
- xfree(ptr);
if(checkOnly)
{
@@ -201,7 +200,6 @@ AccelSetDecelProperty(DeviceIntPtr dev, Atom atom,
if (!vel)
return BadValue;
rc = XIPropToFloat(val, &nelem, &ptr);
- xfree(ptr);
if(checkOnly)
{
@@ -248,7 +246,6 @@ AccelSetAdaptDecelProperty(DeviceIntPtr dev, Atom atom,
if (!veloc)
return BadValue;
rc = XIPropToFloat(val, &nelem, &ptr);
- xfree(ptr);
if(checkOnly)
{
@@ -295,7 +292,6 @@ AccelSetScaleProperty(DeviceIntPtr dev, Atom atom,
if (!vel)
return BadValue;
rc = XIPropToFloat(val, &nelem, &ptr);
- xfree(ptr);
if (checkOnly)
{