Wireshark mailing list archives
GRegex - Freeing regex space necessary?
From: Alex Lindberg <alindber () yahoo com>
Date: Thu, 30 Jun 2011 08:44:34 -0700 (PDT)
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
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- GRegex - Freeing regex space necessary? Alex Lindberg (Jun 30)