printers: Fix string leaks in new printer dialog

This commit is contained in:
Robert Ancell 2020-11-10 15:03:47 +13:00
parent cb01645e21
commit 5cbc30cc1b

View file

@ -1938,8 +1938,8 @@ ppd_selection_cb (GtkDialog *_dialog,
PpNewPrinterDialog *self = user_data;
PpNewPrinter *new_printer;
GList *original_names_list = NULL;
gchar *ppd_name;
gchar *ppd_display_name;
g_autofree gchar *ppd_name = NULL;
g_autofree gchar *ppd_display_name = NULL;
guint window_id = 0;
gint acquisition_method;