[pulseaudio-commits] [SCM] PulseAudio Sound Server branch, master, updated. v0.9.15-14-g8fbf626
Lennart Poettering
gitmailer-noreply at 0pointer.de
Sun Apr 19 11:16:47 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 eb04d0fda6f6ee7998bcf290750a299c566fbb19 (commit)
- Log -----------------------------------------------------------------
8fbf626 object: revert to old unref() behaviour
-----------------------------------------------------------------------
Summary of changes:
src/pulsecore/object.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
commit 8fbf6269b340dd5c920bf90c8dc5f0da4bc062f3
Author: Lennart Poettering <lennart at poettering.net>
Date: Sun Apr 19 20:09:03 2009 +0200
object: revert to old unref() behaviour
This mostly reverts these two commits:
eb04d0fda6f6ee7998bcf290750a299c566fbb19
12c5afe0382ded41de5283e0a8711155adf7ee64
diff --git a/src/pulsecore/object.c b/src/pulsecore/object.c
index a4bb14f..f3ead9c 100644
--- a/src/pulsecore/object.c
+++ b/src/pulsecore/object.c
@@ -59,10 +59,9 @@ pa_object *pa_object_ref(pa_object *o) {
void pa_object_unref(pa_object *o) {
pa_object_assert_ref(o);
- if (PA_REFCNT_VALUE(o) == 1) {
+ if (PA_REFCNT_DEC(o) <= 0) {
pa_assert(o->free);
o->free(o);
- pa_assert_se(PA_REFCNT_DEC(o) == 0);
}
}
--
hooks/post-receive
PulseAudio Sound Server
More information about the pulseaudio-commits
mailing list