From 9359aedc3128abac664101a764ec3c51601ef926 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Mon, 4 May 2020 12:25:19 +0100 Subject: [PATCH] Free handle --- examples/C/bufr_pthreads.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/C/bufr_pthreads.c b/examples/C/bufr_pthreads.c index 1eeb9cc3e..e07a676b3 100644 --- a/examples/C/bufr_pthreads.c +++ b/examples/C/bufr_pthreads.c @@ -56,6 +56,7 @@ static void* process_bufr(void* arg) CODES_CHECK(codes_set_long(h, "#3#verticalSignificanceSurfaceObservations", 8), 0); CODES_CHECK(codes_set_long(h, "pack", 1), 0); + codes_handle_delete(h); pthread_exit(NULL); }