summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/module-udev-detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-udev-detect.c b/src/modules/module-udev-detect.c
index 2c7e7dc3..f2e7b0df 100644
--- a/src/modules/module-udev-detect.c
+++ b/src/modules/module-udev-detect.c
@@ -107,9 +107,9 @@ static void verify_access(struct userdata *u, struct device *d) {
cd = pa_sprintf_malloc("%s/snd/controlC%s", udev_get_dev_path(u->udev), path_get_card_id(d->path));
d->accessible = access(cd, R_OK|W_OK) >= 0;
- pa_xfree(cd);
pa_log_info("%s is accessible: %s", cd, pa_yes_no(d->accessible));
+ pa_xfree(cd);
if (d->module == PA_INVALID_INDEX) {