mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
memblock: Fix typo in description of pa_memblock_unref_fixed(), cleanup
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
This commit is contained in:
parent
09e88de0af
commit
f4635818bd
2 changed files with 3 additions and 3 deletions
|
|
@ -657,7 +657,7 @@ finish:
|
|||
memblock_wait(b);
|
||||
}
|
||||
|
||||
/* No lock necessary. This function is not multiple caller safe*/
|
||||
/* No lock necessary. This function is not multiple caller safe */
|
||||
void pa_memblock_unref_fixed(pa_memblock *b) {
|
||||
pa_assert(b);
|
||||
pa_assert(PA_REFCNT_VALUE(b) > 0);
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ pa_memblock* pa_memblock_ref(pa_memblock*b);
|
|||
/* This special unref function has to be called by the owner of the
|
||||
memory of a static memory block when he wants to release all
|
||||
references to the memory. This causes the memory to be copied and
|
||||
converted into a pool or malloc'ed memory block. Please note that this
|
||||
converted into a pool of malloc'ed memory block. Please note that this
|
||||
function is not multiple caller safe, i.e. needs to be locked
|
||||
manually if called from more than one thread at the same time. */
|
||||
void pa_memblock_unref_fixed(pa_memblock*b);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue