projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ac12b7
)
udev: don't forget to unref devices we are not interested in
author
Lennart Poettering
<lennart@poettering.net>
Tue, 12 Jan 2010 22:01:24 +0000
(23:01 +0100)
committer
Colin Guthrie
<cguthrie@mandriva.org>
Tue, 9 Feb 2010 22:31:18 +0000
(22:31 +0000)
https://bugzilla.redhat.com/show_bug.cgi?id=552932
src/modules/module-udev-detect.c
patch
|
blob
|
history
diff --git
a/src/modules/module-udev-detect.c
b/src/modules/module-udev-detect.c
index
f17695b
..
dfd13ee
100644
(file)
--- 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);