[gssdp] sniffer: Fix wrong free



commit 56154b8dc7242387bb3a2d08c8b34f6646d86874
Author: Jens Georg <mail jensge org>
Date:   Mon Nov 19 21:33:48 2018 +0100

    sniffer: Fix wrong free

 tools/gssdp-device-sniffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/gssdp-device-sniffer.c b/tools/gssdp-device-sniffer.c
index 59e1d8f..dda8dd6 100644
--- a/tools/gssdp-device-sniffer.c
+++ b/tools/gssdp-device-sniffer.c
@@ -89,7 +89,7 @@ clear_packet_treeview (void)
         while (more) {
                 gtk_tree_model_get (model,
                                 &iter, 
-                                5, &arrival_time, -1);
+                                6, &arrival_time, -1);
                 g_free (arrival_time);
                 more = gtk_list_store_remove (GTK_LIST_STORE (model), &iter);
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]