From 17a4c7bf783e2a20754abe1d22306e297d41e59a Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Wed, 14 Mar 2012 15:10:31 -0700 Subject: [PATCH] libthreads: delete allocated object --- libthreads.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libthreads.c b/libthreads.c index 2ffe958..5a4c3a1 100644 --- a/libthreads.c +++ b/libthreads.c @@ -166,6 +166,8 @@ int main() /* Wait for all threads to complete */ thread_wait_finish(); + delete model; + DEBUG("Exiting\n"); return 0; } -- 2.34.1