Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aualin:kde
kdebase3
kdebase3-trinity-fix-mouse-module-crash.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdebase3-trinity-fix-mouse-module-crash.diff of Package kdebase3
commit d1324133ee949acedcbf1776c8a80d3e28218c23 Author: Slávek Banko <slavek.banko@axis.cz> Date: 1382954873 +0100 Fix kcm mouse module crash This resolves Bug 1688 diff --git a/kcontrol/input/logitechmouse.cpp b/kcontrol/input/logitechmouse.cpp index 0e2f6f1..1b77896 100644 --- a/kcontrol/input/logitechmouse.cpp +++ b/kcontrol/input/logitechmouse.cpp @@ -115,7 +115,9 @@ LogitechMouse::LogitechMouse( struct usb_device *usbDev, int mouseCapabilityFlag LogitechMouse::~LogitechMouse() { - usb_close( m_usbDeviceHandle ); + if (m_usbDeviceHandle != 0) { + usb_close( m_usbDeviceHandle ); + } } void LogitechMouse::initCordlessStatusReporting()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor