[pulseaudio-commits] src/pulsecore

Tanu Kaskinen tanuk at kemper.freedesktop.org
Tue Oct 29 17:29:35 CET 2013


 src/pulsecore/memblock.c |    2 +-
 src/pulsecore/memblock.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit f4635818bdd6bad52ac9a614c2c2c992abd15197
Author: Peter Meerwald <p.meerwald at bct-electronic.com>
Date:   Tue Jul 16 17:09:13 2013 +0200

    memblock: Fix typo in description of pa_memblock_unref_fixed(), cleanup
    
    Signed-off-by: Peter Meerwald <p.meerwald at bct-electronic.com>

diff --git a/src/pulsecore/memblock.c b/src/pulsecore/memblock.c
index acfb481..9cc02c1 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 6a3f2ed..502f207 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);



More information about the pulseaudio-commits mailing list