aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ppp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-09-28 16:16:37 +0000
committerGuy Harris <guy@alum.mit.edu>2005-09-28 16:16:37 +0000
commitf6ef22c553bea7cfbdc19460d3cc720470b1c7cd (patch)
tree4e08a5b99702220fe50cd42f9c05cf1228acae04 /epan/dissectors/packet-ppp.c
parente2d774be167d2ff4d2759c5218b49def4ba7e265 (diff)
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
Diffstat (limited to 'epan/dissectors/packet-ppp.c')
-rw-r--r--epan/dissectors/packet-ppp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ppp.c b/epan/dissectors/packet-ppp.c
index bc9c1a317f..199f3b5eb1 100644
--- a/epan/dissectors/packet-ppp.c
+++ b/epan/dissectors/packet-ppp.c
@@ -33,6 +33,7 @@
#include <glib.h>
#include <epan/prefs.h>
#include <epan/packet.h>
+#include <epan/emem.h>
#include "packet-ppp.h"
#include <epan/ppptypes.h>
#include <epan/etypes.h>