Add a few_missing calls to g_free()
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 15 Dec 2008 21:42:49 +0000 (21:42 +0000)
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 15 Dec 2008 21:42:49 +0000 (21:42 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27012 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/follow_tcp.c
gtk/follow_udp.c

index 23a6e8ddb52ad672dcf8df265fb7a33ac381572e..ef22411ecf1ac1a4aa951b43ddb910d15a4f9f99 100644 (file)
@@ -201,6 +201,7 @@ follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
                          "The packets in the capture file for that stream have no data.");
            ws_close(tmp_fd);
            ws_unlink(follow_info->data_out_filename);
+           g_free(follow_info->filter_out_filter);
            g_free(follow_info);
            return;
        }
@@ -231,6 +232,7 @@ follow_tcp_stream_cb(GtkWidget * w, gpointer data _U_)
            }
            ws_close(tmp_fd);
            ws_unlink(follow_info->data_out_filename);
+           g_free(follow_info->filter_out_filter);
            g_free(follow_info);
            return;
        }
index 6186ad6de5aceeb7596fed54f597b12570d911ca..7f7f1174473d90121f124a73999632b54f35d32f 100644 (file)
@@ -156,6 +156,7 @@ follow_udp_stream_cb(GtkWidget *w, gpointer data _U_)
                simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
                              "Can't register udp_follow tap: %s\n",
                              msg->str);
+               g_free(follow_info->filter_out_filter);
                g_free(follow_info);
                return;
        }