diff --git a/src/pulsecore/memblock.c b/src/pulsecore/memblock.c index acfb481e1..9cc02c1a7 100644 --- a/src/pulsecore/memblock.c +++ b/src/pulsecore/memblock.c @@ -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); diff --git a/src/pulsecore/memblock.h b/src/pulsecore/memblock.h index 6a3f2ed36..502f207dc 100644 --- a/src/pulsecore/memblock.h +++ b/src/pulsecore/memblock.h @@ -99,9 +99,9 @@ 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. */ +manually if called from more than one thread at the same time. */ void pa_memblock_unref_fixed(pa_memblock*b); bool pa_memblock_is_read_only(pa_memblock *b);