diff options
author | Alfredo Cardigliano <cardigliano@ntop.org> | 2021-06-14 14:41:14 +0200 |
---|---|---|
committer | Alfredo Cardigliano <cardigliano@ntop.org> | 2021-06-14 14:41:14 +0200 |
commit | 4aefbe0c7a665ee077b3ddbfc0c7738cd7333558 (patch) | |
tree | 8feed32859899427e3ebf9339951284db487ad6a /src/include | |
parent | 380286c06974451bed47f14455272f051f809cbe (diff) |
Call ac_automata_release with free_pattern = 1 (malloc'ed patterns expected in ndpi_add_string_to_automa)
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_api.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ndpi_api.h.in b/src/include/ndpi_api.h.in index a2e362acd..f2da3b186 100644 --- a/src/include/ndpi_api.h.in +++ b/src/include/ndpi_api.h.in @@ -840,7 +840,7 @@ extern "C" { * Add a string to match to an automata * * @par The automata initialized with ndpi_init_automa(); - * @par The (sub)string to search + * @par The (sub)string to search (malloc'ed memory) * @par The number associated with this string * @return 0 in case of no error, or -1 if an error occurred. * @@ -851,7 +851,7 @@ extern "C" { * Add a string to match to an automata. Same as ndpi_add_string_value_to_automa() with num set to 1 * * @par The automata initialized with ndpi_init_automa(); - * @par The (sub)string to search + * @par The (sub)string to search (malloc'ed memory) * @return 0 in case of no error, or -1 if an error occurred. * */ |