Merge pull request #696 from pallas/avoid-hyperscan-leak

Avoid leaking hyperscan struct
This commit is contained in:
Luca Deri 2019-05-08 12:13:23 +02:00 committed by GitHub
commit b96e6a9e2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -999,6 +999,7 @@ static void free_hyperscan_memory(struct hs *h) {
if(h) {
hs_free_scratch(h->scratch);
hs_free_database(h->database);
free(h);
}
}