summaryrefslogtreecommitdiff
path: root/src/draglock.c
diff options
context:
space:
mode:
authorOliver McFadden <oliver.mcfadden@nokia.com>2010-04-20 05:37:39 +0300
committerOliver McFadden <oliver.mcfadden@nokia.com>2010-04-20 09:12:30 +0300
commit6b5c0401e2b8fe1637f937739e822a33206ef1ac (patch)
treed627f31b9b2d6db86ec3f75e9104fec07d515a53 /src/draglock.c
parentaaf65e7bfacd9501c4475a579d92c3bc60409893 (diff)
evdev: leaked_storage: free memory allocated from the xf86Option code.
Signed-off-by: Oliver McFadden <oliver.mcfadden@nokia.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/draglock.c')
-rw-r--r--src/draglock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/draglock.c b/src/draglock.c
index 6157cae..a7ad974 100644
--- a/src/draglock.c
+++ b/src/draglock.c
@@ -145,6 +145,8 @@ EvdevDragLockPreInit(InputInfoPtr pInfo)
if (next_num != NULL && *next_num == '\0')
next_num = NULL;
}
+
+ xfree(option_string);
}
/* Updates DragLock button state and fires button event messges */