summaryrefslogtreecommitdiff
path: root/ui/voip_calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/voip_calls.c')
-rw-r--r--ui/voip_calls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/voip_calls.c b/ui/voip_calls.c
index 8b4488383f..cb23a11750 100644
--- a/ui/voip_calls.c
+++ b/ui/voip_calls.c
@@ -2858,8 +2858,7 @@ h248_calls_packet(void *tap_offset_ptr, packet_info *pinfo, epan_dissect_t *edt,
}
}
- callsinfo->to_identity = s->str;
- g_string_free(s,FALSE);
+ callsinfo->to_identity = g_string_free(s,FALSE);
callsinfo->stop_fd = pinfo->fd;
callsinfo->stop_rel_ts = pinfo->rel_ts;