summaryrefslogtreecommitdiff
path: root/wk4
diff options
context:
space:
mode:
Diffstat (limited to 'wk4')
-rw-r--r--wk4/lect/memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wk4/lect/memory.c b/wk4/lect/memory.c
index 26cff19..1ec50e7 100644
--- a/wk4/lect/memory.c
+++ b/wk4/lect/memory.c
@@ -10,4 +10,5 @@ int main(void)
x[0] = 72;
x[1] = 73;
x[2] = 33;
+ free(x);
}