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  ad2a0ab40b107e2f3466c1baac4a86cf9fefca19 (commit)

- Log -----------------------------------------------------------------
eb04d0f object: fix ref counting of objects on destruction
-----------------------------------------------------------------------

Summary of changes:
 src/pulsecore/object.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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

commit eb04d0fda6f6ee7998bcf290750a299c566fbb19
Author: Lennart Poettering <[email protected]>
Date:   Sun Apr 19 19:33:15 2009 +0200

    object: fix ref counting of objects on destruction

diff --git a/src/pulsecore/object.c b/src/pulsecore/object.c
index 29cca0a..a4bb14f 100644
--- a/src/pulsecore/object.c
+++ b/src/pulsecore/object.c
@@ -62,8 +62,8 @@ void pa_object_unref(pa_object *o) {
     if (PA_REFCNT_VALUE(o) == 1) {
         pa_assert(o->free);
         o->free(o);
-    } else
         pa_assert_se(PA_REFCNT_DEC(o) == 0);
+    }
 }
 
 int pa_object_check_type(const char *type_name) {

-- 
hooks/post-receive
PulseAudio Sound Server
_______________________________________________
pulseaudio-commits mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-commits

Reply via email to