projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad2a0ab
)
object: fix ref counting of objects on destruction
author
Lennart Poettering
<lennart@poettering.net>
Sun, 19 Apr 2009 17:33:15 +0000
(19:33 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 19 Apr 2009 17:33:15 +0000
(19:33 +0200)
src/pulsecore/object.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/object.c
b/src/pulsecore/object.c
index
29cca0a
..
a4bb14f
100644
(file)
--- 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) {