Merge pull request #122 from mrdomino/fix-res_unamb-leak
Free res_unamb
This commit is contained in:
commit
af260bdd58
1 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
#include "hammer.h"
|
||||
|
|
@ -120,6 +121,7 @@ HBenchmarkResults *h_benchmark__m(HAllocator* mm__, HParser* parser, HParserTest
|
|||
ret->results[backend].failed_testcases++;
|
||||
}
|
||||
h_parse_result_free(res);
|
||||
free(res_unamb);
|
||||
}
|
||||
|
||||
if (tc_failed > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue