aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/lbm_uimflow_dlg.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-12-21 20:56:33 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2014-12-21 20:47:48 +0000
commit9407160e05ab8031014b1a7db9488b3f0f7e041b (patch)
tree9e9d08f52d888f07435f0bccd173c69512f74f64 /ui/gtk/lbm_uimflow_dlg.c
parentccf0573fcd24f26f757521d31ca96256869f9ec2 (diff)
Do not use packet scoped memory in GUI
It will trigger an assertion Change-Id: I2436c11b45e1505a94256a06ed3ad0c5480e034b Reviewed-on: https://code.wireshark.org/review/5953 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'ui/gtk/lbm_uimflow_dlg.c')
-rw-r--r--ui/gtk/lbm_uimflow_dlg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/lbm_uimflow_dlg.c b/ui/gtk/lbm_uimflow_dlg.c
index a2f17ec722..bdb141e4d0 100644
--- a/ui/gtk/lbm_uimflow_dlg.c
+++ b/ui/gtk/lbm_uimflow_dlg.c
@@ -194,10 +194,10 @@ static int lbmc_uim_flow_graph_add_to_graph(packet_info * pinfo, const lbm_uim_s
{
item->comment = g_strdup_printf("%" G_GUINT32_FORMAT ":%s:%" G_GUINT16_FORMAT " <-> %" G_GUINT32_FORMAT ":%s:%" G_GUINT16_FORMAT " [%" G_GUINT64_FORMAT "]",
epa.stream_info.dest.domain,
- address_to_str(wmem_packet_scope(), &(epa.stream_info.dest.addr)),
+ ep_address_to_str(&(epa.stream_info.dest.addr)),
epa.stream_info.dest.port,
epb.stream_info.dest.domain,
- address_to_str(wmem_packet_scope(), &(epb.stream_info.dest.addr)),
+ ep_address_to_str(&(epb.stream_info.dest.addr)),
epb.stream_info.dest.port,
stream_info->channel);
}