mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Fix mem leaks. Bug #389194.
2006-12-25 Christian Persch <chpe@cvs.gnome.org> * gtk/gtkpagesetupunixdialog.c: (printer_status_cb), (add_custom_paper): Fix mem leaks. Bug #389194.
This commit is contained in:
parent
8a4e8aa19c
commit
fca708fb0e
@ -1,3 +1,8 @@
|
||||
2006-12-25 Christian Persch <chpe@cvs.gnome.org>
|
||||
|
||||
* gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
|
||||
(add_custom_paper): Fix mem leaks. Bug #389194.
|
||||
|
||||
2006-12-24 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktextutil.c: Remove debug output.
|
||||
|
@ -490,6 +490,7 @@ printer_status_cb (GtkPrintBackend *backend,
|
||||
gtk_list_store_set (priv->printer_list, iter,
|
||||
PRINTER_LIST_COL_NAME, str,
|
||||
-1);
|
||||
g_free (str);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1647,6 +1648,7 @@ add_custom_paper (CustomPaperDialog *data)
|
||||
gtk_tree_view_set_cursor (GTK_TREE_VIEW (data->treeview), path,
|
||||
data->text_column, TRUE);
|
||||
gtk_tree_path_free (path);
|
||||
g_free (name);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user