From f6ef22c553bea7cfbdc19460d3cc720470b1c7cd Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 28 Sep 2005 16:16:37 +0000 Subject: Have show_exception() take a "const char *" as its exception message, and not free the string to which it points. Pass to REPORT_DISSECTOR_BUG() strings allocated with ep_strdup_printf(), so that they're freed automatically. svn path=/trunk/; revision=16039 --- epan/ftypes/ftype-string.c | 1 + 1 file changed, 1 insertion(+) (limited to 'epan/ftypes') diff --git a/epan/ftypes/ftype-string.c b/epan/ftypes/ftype-string.c index d4d34a6cbc..2dfdc510c3 100644 --- a/epan/ftypes/ftype-string.c +++ b/epan/ftypes/ftype-string.c @@ -26,6 +26,7 @@ #include #include +#include #ifdef HAVE_LIBPCRE #include -- cgit v1.2.3