From b60d8aa907970133d22d5ab6b06c849d90332d75 Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Sun, 7 Feb 2010 20:25:09 +0100 Subject: [PATCH] FIX: error.c memory leak when destroying threads the error context is dynamically allocated and must be freed, forgotten this as errors originated from static strings initially. --- src/lib/error.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/error.c b/src/lib/error.c index a7044ffb3..0de5f4b7a 100644 --- a/src/lib/error.c +++ b/src/lib/error.c @@ -59,6 +59,7 @@ lumiera_error_tls_delete (void* err) { if (err) free (((LumieraErrorcontext)err)->extra); + free(err); } static void