diff --git a/src/memory-management/manual.md b/src/memory-management/manual.md index ad2288ec..069ca94a 100644 --- a/src/memory-management/manual.md +++ b/src/memory-management/manual.md @@ -8,7 +8,7 @@ You must call `free` on every pointer you allocate with `malloc`: ```c void foo(size_t n) { - int[] int_array = (int*)malloc(n * sizeof(int)); + int* int_array = (int*)malloc(n * sizeof(int)); // // ... lots of code //