summaryrefslogtreecommitdiff
path: root/ui/gtk/voip_calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/voip_calls.c')
-rw-r--r--ui/gtk/voip_calls.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/ui/gtk/voip_calls.c b/ui/gtk/voip_calls.c
index 0798cb1b7b..d3599f7883 100644
--- a/ui/gtk/voip_calls.c
+++ b/ui/gtk/voip_calls.c
@@ -74,6 +74,9 @@
#endif /* HAVE_LIBPORTAUDIO */
+#define DUMP_PTR1(p) printf("#=> %p\n",p)
+#define DUMP_PTR2(p) printf("==> %p\n",p)
+
const char *voip_call_state_name[8]={
"",
"CALL SETUP",
@@ -1526,7 +1529,8 @@ q931_calls_packet(void *ptr _U_, packet_info *pinfo, epan_dissect_t *edt _U_, co
/* remove this LRQ/LCF call entry because we have found the Setup that match them */
g_free(tmp_listinfo->from_identity);
g_free(tmp_listinfo->to_identity);
- g_free(tmp2_h323info->guid);
+ DUMP_PTR2(tmp2_h323info->guid);
+ g_free(tmp2_h323info->guid);
list2 = g_list_first(tmp2_h323info->h245_list);
while (list2)
@@ -1745,6 +1749,7 @@ static void add_h245_Address(h323_calls_info_t *h323info, h245_address_t *h245_
static void free_h225_info(gpointer p) {
h323_calls_info_t *tmp_h323info = (h323_calls_info_t *)p;
+ DUMP_PTR2(tmp_h323info->guid);
g_free(tmp_h323info->guid);
if (tmp_h323info->h245_list) {
@@ -1843,6 +1848,8 @@ H225calls_packet(void *ptr _U_, packet_info *pinfo, epan_dissect_t *edt _U_, con
tmp_h323info = (h323_calls_info_t *)callsinfo->prot_info;
g_assert(tmp_h323info != NULL);
tmp_h323info->guid = (e_guid_t *)g_memdup(&pi->guid, sizeof pi->guid);
+ DUMP_PTR1(tmp_h323info->guid);
+
tmp_h323info->h225SetupAddr.type = AT_NONE;
tmp_h323info->h225SetupAddr.len = 0;
tmp_h323info->h245_list = NULL;