Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

void pa_operation_unref ( pa_operation o  ) 

Decrease the reference count by one

Definition at line 67 of file operation.c.

                                         {
    pa_assert(o);
    pa_assert(PA_REFCNT_VALUE(o) >= 1);

    if (PA_REFCNT_DEC(o) <= 0) {
        pa_assert(!o->context);
        pa_assert(!o->stream);

        if (pa_flist_push(PA_STATIC_FLIST_GET(operations), o) < 0)
            pa_xfree(o);
    }
}


Generated by  Doxygen 1.6.0   Back to index