[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.17-58-g996051e
Lennart Poettering
gitmailer-noreply at 0pointer.de
Fri Sep 18 15:22:00 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 56e1290ef688ed0836d34492bc55c1f41f09c2f5 (commit)
- Log -----------------------------------------------------------------
996051e memtrap: properly add items to linked list
-----------------------------------------------------------------------
Summary of changes:
src/pulsecore/memtrap.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
commit 996051ebc1883aa335c41a64217794915089a966
Author: Lennart Poettering <lennart at poettering.net>
Date: Sat Sep 19 00:21:34 2009 +0200
memtrap: properly add items to linked list
diff --git a/src/pulsecore/memtrap.c b/src/pulsecore/memtrap.c
index 373872c..4fc1821 100644
--- a/src/pulsecore/memtrap.c
+++ b/src/pulsecore/memtrap.c
@@ -107,7 +107,10 @@ static void memtrap_link(pa_memtrap *m, unsigned j) {
pa_assert(m);
m->prev[j] = NULL;
- m->next[j] = memtraps[j];
+
+ if ((m->next[j] = memtraps[j]))
+ m->next[j]->prev[j] = m;
+
memtraps[j] = m;
}
--
hooks/post-receive
PulseAudio Sound Server
More information about the pulseaudio-commits
mailing list