mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-10 09:19:16 +00:00
Merge pull request #696 from pallas/avoid-hyperscan-leak
Avoid leaking hyperscan struct
This commit is contained in:
commit
b96e6a9e2d
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue