theories: Fixed leak in theory context destruction
This commit is contained in:
parent
932b943cd2
commit
4e0ee1a319
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ struct criterion_theory_context *cr_theory_init(void)
|
|||
void cr_theory_free(struct criterion_theory_context *ctx)
|
||||
{
|
||||
dcFree(ctx->vm);
|
||||
free(ctx);
|
||||
}
|
||||
|
||||
static jmp_buf theory_jmp;
|
||||
|
|
Loading…
Add table
Reference in a new issue