From 4804683f1df32545d155463e054f64d252ce493a Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Tue, 19 Sep 2023 00:00:28 -0400 Subject: [PATCH] add the memory leak note --- lectures/06_memory/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/06_memory/README.md b/lectures/06_memory/README.md index 842f480..bd882a7 100644 --- a/lectures/06_memory/README.md +++ b/lectures/06_memory/README.md @@ -416,7 +416,7 @@ c[1] = b[1]; c = &(a[3]); ``` -See [solution](memory_exercise2_solution.png). +See [solution](memory_exercise2_solution.png). Note that there is a memory leak of 3 *int*s in this program. - Write code to produce this diagram: