summaryrefslogtreecommitdiffstats
path: root/src/templates.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-11 08:59:28 +0200
committeraap <aap@papnet.eu>2019-06-11 08:59:28 +0200
commite7ed4d009636804d5dbe05aae9e7ab23b80fdd37 (patch)
tree4c95f6e07923b5ed0a7046afeb42a1ea2b8693bf /src/templates.h
parentMerge branch 'master' of github.com:GTAmodding/re3 (diff)
downloadre3-e7ed4d009636804d5dbe05aae9e7ab23b80fdd37.tar
re3-e7ed4d009636804d5dbe05aae9e7ab23b80fdd37.tar.gz
re3-e7ed4d009636804d5dbe05aae9e7ab23b80fdd37.tar.bz2
re3-e7ed4d009636804d5dbe05aae9e7ab23b80fdd37.tar.lz
re3-e7ed4d009636804d5dbe05aae9e7ab23b80fdd37.tar.xz
re3-e7ed4d009636804d5dbe05aae9e7ab23b80fdd37.tar.zst
re3-e7ed4d009636804d5dbe05aae9e7ab23b80fdd37.zip
Diffstat (limited to '')
-rw-r--r--src/templates.h5
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);