summaryrefslogtreecommitdiff
path: root/examples/Shared_Malloc/test_position_independent_malloc.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-02 21:12:03 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-02 21:12:03 +0000
commitf36c807345976ff30a647f43ebeb8f92de0120eb (patch)
treee4b1f4a8d3991cb078bcacbbf63d66061c4479c0 /examples/Shared_Malloc/test_position_independent_malloc.cpp
parent0a3fd137fdf6fc861f8dd21283331f6abcfcd942 (diff)
downloadATCD-f36c807345976ff30a647f43ebeb8f92de0120eb.tar.gz
Remember to delete the allocator.
Diffstat (limited to 'examples/Shared_Malloc/test_position_independent_malloc.cpp')
-rw-r--r--examples/Shared_Malloc/test_position_independent_malloc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/Shared_Malloc/test_position_independent_malloc.cpp b/examples/Shared_Malloc/test_position_independent_malloc.cpp
index 7ea178b6488..39ab49289a3 100644
--- a/examples/Shared_Malloc/test_position_independent_malloc.cpp
+++ b/examples/Shared_Malloc/test_position_independent_malloc.cpp
@@ -173,6 +173,8 @@ main (int argc, char *argv[])
"all resources released\n"));
}
+ delete allocator;
+
return 0;
}