theories: Fixed leak in theory context destruction

This commit is contained in:
Snaipe 2016-09-24 21:16:35 +02:00
parent 932b943cd2
commit 4e0ee1a319

View file

@ -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;