diff options
author | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2022-01-14 01:06:14 +0000 |
---|---|---|
committer | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2022-01-14 01:06:14 +0000 |
commit | 396543790dc1c844c726b77a95c6180978232abd (patch) | |
tree | b5051f5afba137e499b883b637ce6fc436805ec5 /memory.c | |
parent | 07082593ab4abfbf9a3dd6729cb2e548ec303115 (diff) |
Add each (ยจ) operator
Diffstat (limited to 'memory.c')
-rw-r--r-- | memory.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -9,6 +9,9 @@ int alloccounts = 0; void freearray(Array *a) { + if(a == nil) + return; + a->refs--; if(a->refs == 0){ /* print("Freeing array: %S (%p)\n", pparray(a), a); */ |