I am moving my custom dissectors from pcre to GRegex. The GRegex docs talk about the need to free memory (g_match_info_free, g_free_error, etc).
Is it necessary to expliitly free these memory structures used during a RegEx search or will these be taken care of by epan/emem.h or can these RegEx memory structures be declared as part of the ep_ or se_ space?
In my case, these memory structures are only needed during a single packet dissection (ep_ type memory requirements).
Thanks as always. Alex Lindberg
|