aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_info_dlg.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-04-14 05:46:34 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-04-14 05:46:34 +0000
commit27ca219d2b84ce668590826d8415985bd45b8e05 (patch)
treee6e2ba2efe70129f2519689c764b98b916aad083 /gtk/capture_info_dlg.c
parent8d116606bdae3197a1f5590ad4e8d7b07d1063f8 (diff)
two memory leaks removed
svn path=/trunk/; revision=10599
Diffstat (limited to 'gtk/capture_info_dlg.c')
-rw-r--r--gtk/capture_info_dlg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/capture_info_dlg.c b/gtk/capture_info_dlg.c
index 3dcf101b21..2a7753fd1b 100644
--- a/gtk/capture_info_dlg.c
+++ b/gtk/capture_info_dlg.c
@@ -1,7 +1,7 @@
/* capture_info_dlg.c
* Routines for packet capture info dialog
*
- * $Id: capture_info_dlg.c,v 1.14 2004/04/13 18:01:40 tuexen Exp $
+ * $Id: capture_info_dlg.c,v 1.15 2004/04/14 05:46:34 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -122,6 +122,7 @@ gchar *iface)
cap_w_title = g_strdup_printf("Ethereal: Capture - Interface %s", iface);
info->cap_w = dlg_window_new(cap_w_title);
+ g_free(cap_w_title);
gtk_window_set_modal(GTK_WINDOW(info->cap_w), TRUE);
/* Container for capture display widgets */