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.
This commit is contained in:
parent
33a0591689
commit
b60d8aa907
1 changed files with 1 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ lumiera_error_tls_delete (void* err)
|
|||
{
|
||||
if (err)
|
||||
free (((LumieraErrorcontext)err)->extra);
|
||||
free(err);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue