aboutsummaryrefslogtreecommitdiffstats
path: root/epan/crypt/airpdcap_debug.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-01-07 18:13:23 -0500
committerAnders Broman <a.broman58@gmail.com>2015-01-08 05:43:51 +0000
commit4a5ca5c76e199694bba8a21418f52ca0f30322d1 (patch)
tree00b8ed5cce77a17af6e0fb388fe42c6ffa8a9262 /epan/crypt/airpdcap_debug.h
parent22096781499c7159ff504f7baa743d295aad06bc (diff)
bytes_to_ep_str -> bytes_to_str
Change-Id: Ifcda8328dedec0ef4104c3a124d6246f99493750 Reviewed-on: https://code.wireshark.org/review/6389 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/crypt/airpdcap_debug.h')
-rw-r--r--epan/crypt/airpdcap_debug.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/crypt/airpdcap_debug.h b/epan/crypt/airpdcap_debug.h
index 4facb6303f..82b686c94a 100644
--- a/epan/crypt/airpdcap_debug.h
+++ b/epan/crypt/airpdcap_debug.h
@@ -87,7 +87,12 @@ void print_debug_line(const CHAR *function, const CHAR *msg, const INT level);
#endif
#endif
-#define DEBUG_DUMP(x,y,z) g_warning("%s: %s", x, bytes_to_ep_str(y, (z)))
+#define DEBUG_DUMP(x,y,z) \
+ { \
+ char* tmp_str = (char*)bytes_to_str(NULL, y, (z)); \
+ g_warning("%s: %s", x, ) \
+ wmem_free(NULL, tmp_str); \
+ }
#else /* !defined _DEBUG */