[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.16-test5-14-g4ec701a

Lennart Poettering gitmailer-noreply at 0pointer.de
Fri Aug 21 13:11:33 PDT 2009


This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Sound Server" repository.

The master branch has been updated
      from  d06680afe88d14a46ce8a4541d43d514a225732f (commit)

- Log -----------------------------------------------------------------
4ec701a udev: don't access string after free()
-----------------------------------------------------------------------

Summary of changes:
 src/modules/module-udev-detect.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-----------------------------------------------------------------------

commit 4ec701aa21c51a0a0c1dd60bd94ee4af1c1d1343
Author: Lennart Poettering <lennart at poettering.net>
Date:   Fri Aug 21 22:11:38 2009 +0200

    udev: don't access string after free()

diff --git a/src/modules/module-udev-detect.c b/src/modules/module-udev-detect.c
index 2c7e7dc..f2e7b0d 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) {
 

-- 
hooks/post-receive
PulseAudio Sound Server



More information about the pulseaudio-commits mailing list