summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorOliver McFadden <oliver.mcfadden@nokia.com>2009-07-17 06:34:00 +0300
committerOliver McFadden <oliver.mcfadden@nokia.com>2009-07-17 06:34:00 +0300
commitb5f6da1e9b37f52484948185dcf17950657cd65b (patch)
tree8b5802e9b0ceac5e8df3881f41089339bc7f4588 /dix
parentf517fca31d8c341ad36f3de4863adb0bc5206176 (diff)
Revert "Coverity Prevent: RESOURCE_LEAK in AccelSetProfileProperty:"
This reverts commit 7333dc2969f60af0abcfb28e7182a5fff9918223. False positive.
Diffstat (limited to 'dix')
-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)
{