[PATCH 6/7] dragLock: leaked_storage: EvdevDragLockPreInit: Variable "option_string" goes out of scope
Oliver McFadden
oliver.mcfadden at nokia.com
Mon Apr 19 21:11:21 PDT 2010
Signed-off-by: Oliver McFadden <oliver.mcfadden at nokia.com>
---
src/draglock.c | 2 ++
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 */
--
1.6.1
More information about the xorg-devel
mailing list