From bc544ca0f69fa6c8071bf6da21712d5bc337ca71 Mon Sep 17 00:00:00 2001 From: nanbor Date: Mon, 2 Aug 1999 21:12:03 +0000 Subject: Remember to delete the allocator. --- examples/Shared_Malloc/test_position_independent_malloc.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/Shared_Malloc/test_position_independent_malloc.cpp') 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; } -- cgit v1.2.1