/*
- * Copyright (c) 2018-2019, Intel Corporation
+ * Copyright (c) 2018-2020, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
#include "parser/parse_error.h"
#include "util/container.h"
#include "hs_compile.h"
+#include "allocator.h"
#include <vector>
if (info->unordered_matches) {
throw CompileError("Have unordered match in sub-expressions.");
}
- free(info);
+ hs_misc_free(info);
}
}
}