summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/examples/http2-pushinmemory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/http2-pushinmemory.c b/docs/examples/http2-pushinmemory.c
index 70af6c30f..948846f43 100644
--- a/docs/examples/http2-pushinmemory.c
+++ b/docs/examples/http2-pushinmemory.c
@@ -65,7 +65,7 @@ static int pushindex = 1;
static void init_memory(struct Memory *chunk)
{
- chunk->memory = malloc(1); /* will be grown as needed by the realloc above */
+ chunk->memory = malloc(1); /* grown as needed with realloc */
chunk->size = 0; /* no data at this point */
}