summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pulsecore/memblock.c4
-rw-r--r--src/pulsecore/memchunk.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pulsecore/memblock.c b/src/pulsecore/memblock.c
index f2288175..e30ded8a 100644
--- a/src/pulsecore/memblock.c
+++ b/src/pulsecore/memblock.c
@@ -518,8 +518,8 @@ static void memblock_free(pa_memblock *b) {
case PA_MEMBLOCK_APPENDED:
- /* We could attached it unused_memblocks, but that would
- * probably waste some considerable memory */
+ /* We could attach it to unused_memblocks, but that would
+ * probably waste some considerable amount of memory */
pa_xfree(b);
break;
diff --git a/src/pulsecore/memchunk.h b/src/pulsecore/memchunk.h
index f9e56be1..217f92d2 100644
--- a/src/pulsecore/memchunk.h
+++ b/src/pulsecore/memchunk.h
@@ -34,7 +34,7 @@ typedef struct pa_memchunk {
} pa_memchunk;
/* Make a memchunk writable, i.e. make sure that the caller may have
- * exclusive access to the memblock and it is not read_only. If needed
+ * exclusive access to the memblock and it is not read-only. If needed
* the memblock in the structure is replaced by a copy. If min is not
* 0 it is made sure that the returned memblock is at least of the
* specified size, i.e. is enlarged if necessary. */