diff options
Diffstat (limited to '')
-rw-r--r-- | src/templates.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/templates.h b/src/templates.h index 75bfd26b..03e41a64 100644 --- a/src/templates.h +++ b/src/templates.h @@ -138,7 +138,10 @@ public: while(n--) freeHead.Insert(&links[n]); } - // Shutdown + void Shutdown(void){ + delete[] links; + links = nil; + } void Clear(void){ while(head.next != &tail) Remove(head.next); |