mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
add a few additional validity checks
This commit is contained in:
parent
83ddc0936e
commit
12b735962a
2 changed files with 43 additions and 6 deletions
|
|
@ -62,6 +62,7 @@ pa_operation *pa_operation_ref(pa_operation *o) {
|
|||
PA_REFCNT_INC(o);
|
||||
return o;
|
||||
}
|
||||
|
||||
void pa_operation_unref(pa_operation *o) {
|
||||
pa_assert(o);
|
||||
pa_assert(PA_REFCNT_VALUE(o) >= 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue