Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2
pulseaudio
0008-udev-don-t-forget-to-unref-devices-we-are-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0008-udev-don-t-forget-to-unref-devices-we-are-not-inter.patch of Package pulseaudio
From 15a3018bda8ee92393671ceaf272be418e95a81f Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Tue, 12 Jan 2010 23:01:24 +0100 Subject: [PATCH] udev: don't forget to unref devices we are not interested in https://bugzilla.redhat.com/show_bug.cgi?id=552932 --- src/modules/module-udev-detect.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/modules/module-udev-detect.c b/src/modules/module-udev-detect.c index 1b1e9c1..7508d9a 100644 --- a/src/modules/module-udev-detect.c +++ b/src/modules/module-udev-detect.c @@ -416,8 +416,10 @@ static void monitor_cb( goto fail; } - if (!path_get_card_id(udev_device_get_devpath(dev))) + if (!path_get_card_id(udev_device_get_devpath(dev))) { + udev_device_unref(dev); return; + } process_device(u, dev); udev_device_unref(dev); -- 1.6.0.2
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