don't forget to free the error struct
This commit is contained in:
parent
c64984b859
commit
25ec9a91f7
1 changed files with 4 additions and 1 deletions
|
|
@ -58,7 +58,10 @@ static void
|
|||
lumiera_error_tls_delete (void* err)
|
||||
{
|
||||
if (err)
|
||||
free (((LumieraErrorcontext)err)->extra);
|
||||
{
|
||||
free (((LumieraErrorcontext)err)->extra);
|
||||
free (err);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue