diff --git a/file.c b/file.c index 0ef5ff1f2f..b7fb42af5a 100644 --- a/file.c +++ b/file.c @@ -1,7 +1,7 @@ /* file.c * File I/O routines * - * $Id: file.c,v 1.371 2004/04/13 18:01:39 tuexen Exp $ + * $Id: file.c,v 1.372 2004/04/14 05:46:34 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -544,6 +544,8 @@ cf_start_tail(char *fname, gboolean is_tempfile, capture_file *cf) capture_msg = g_strdup_printf(" %s: ", cf->iface); statusbar_push_file_msg(capture_msg); + + g_free(capture_msg); } return err; } 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 @@ -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 */