From 146b6b824da171f457198797def5083d2fa90a0c Mon Sep 17 00:00:00 2001 From: Dario Lombardo Date: Tue, 21 Feb 2017 14:28:57 +0100 Subject: text2pcap: free memory on exit. Make also text2pcap_lex_destroy() public to be called from main. Change-Id: I360c3dd3991d027afe6e4542ea5f9680e92f92cf Reviewed-on: https://code.wireshark.org/review/20226 Reviewed-by: Michael Mann Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Dario Lombardo --- text2pcap.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'text2pcap.h') diff --git a/text2pcap.h b/text2pcap.h index fd3a46202c..488176d5e1 100644 --- a/text2pcap.h +++ b/text2pcap.h @@ -44,6 +44,8 @@ int parse_token(token_t token, char *str); int text2pcap_lex(void); +int text2pcap_lex_destroy(void); + #endif /* -- cgit v1.2.3