aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.h
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2017-02-21 14:28:57 +0100
committerDario Lombardo <lomato@gmail.com>2017-02-28 14:56:36 +0000
commit146b6b824da171f457198797def5083d2fa90a0c (patch)
treecfe692a1fa97b412d8d66685f14bb15aa8f71386 /text2pcap.h
parent26e62dfad07a02efc03e4c08c3c6b08e5c5d2076 (diff)
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 <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Dario Lombardo <lomato@gmail.com>
Diffstat (limited to 'text2pcap.h')
-rw-r--r--text2pcap.h2
1 files changed, 2 insertions, 0 deletions
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
/*