Skip to content

Commit c75f1bf

Browse files
committed
Updates
1 parent b527c5b commit c75f1bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/notes/n_001_01.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ with a simple heap implementation. First, if we "forget" to call `free()`
1616
when we are done with the memory, we have created a "memory leak" and our program
1717
eventually will run out of memory and abort. C places the onus of giving back any
1818
dynamically allocated memory on the programmer. Modern languages like Java,
19-
JavaScript, and Python keep track of when we stop dynamic memory using a layer that
20-
can automatically reclaim the memory.
19+
JavaScript, and Python keep track of when we stop using a segment of dynamic memory
20+
using a layer that can automatically reclaim the memory.
2121

2222
The more difficult problem is after a series of calls to `malloc()` and `free()` the
2323
heap space becomes fragmented and some cleanup is needed. This clean up is called

0 commit comments

Comments
 (0)