[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.15-test5-130-gef5af55
Lennart Poettering
gitmailer-noreply at 0pointer.de
Tue Mar 31 11:31:18 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 2a32de1eaa15624b3d773115d849dba863ca5a44 (commit)
- Log -----------------------------------------------------------------
ef5af55 fix an error where a signal was accidently freed when it is tried to register it twice
-----------------------------------------------------------------------
Summary of changes:
src/pulse/mainloop-signal.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
commit ef5af553d6bb27d88a97f407fcf9f685f7e36e49
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Mar 31 20:31:15 2009 +0200
fix an error where a signal was accidently freed when it is tried to register it twice
diff --git a/src/pulse/mainloop-signal.c b/src/pulse/mainloop-signal.c
index 52f11c8..3dc7439 100644
--- a/src/pulse/mainloop-signal.c
+++ b/src/pulse/mainloop-signal.c
@@ -170,7 +170,7 @@ pa_signal_event* pa_signal_new(int sig, pa_signal_cb_t _callback, void *userdata
for (e = signals; e; e = e->next)
if (e->sig == sig)
- goto fail;
+ return NULL;
e = pa_xnew(pa_signal_event, 1);
e->sig = sig;
@@ -196,8 +196,7 @@ pa_signal_event* pa_signal_new(int sig, pa_signal_cb_t _callback, void *userdata
return e;
fail:
- if (e)
- pa_xfree(e);
+ pa_xfree(e);
return NULL;
}
--
hooks/post-receive
PulseAudio Sound Server
More information about the pulseaudio-commits
mailing list