diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-09-28 16:16:37 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-09-28 16:16:37 +0000 |
commit | f6ef22c553bea7cfbdc19460d3cc720470b1c7cd (patch) | |
tree | 4e08a5b99702220fe50cd42f9c05cf1228acae04 /epan/dissectors/ncp2222.py | |
parent | e2d774be167d2ff4d2759c5218b49def4ba7e265 (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/ncp2222.py')
-rw-r--r-- | epan/dissectors/ncp2222.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/ncp2222.py b/epan/dissectors/ncp2222.py index 0b285e8544..76fc22179f 100644 --- a/epan/dissectors/ncp2222.py +++ b/epan/dissectors/ncp2222.py @@ -5560,6 +5560,7 @@ def produce_code(): #include <epan/packet.h> #include <epan/conversation.h> #include <epan/ptvcursor.h> +#include <epan/emem.h> #include "packet-ncp-int.h" #include "packet-ncp-nmas.h" #include <epan/strutil.h> |