Fix a crash

svn path=/trunk/; revision=19786
This commit is contained in:
Matthias Clasen
2008-03-12 17:52:36 +00:00
parent baf4837b25
commit b1f8302299
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-03-12 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
(#469210, Wouter Bolsterlee)
2008-03-12 Matthias Clasen <mclasen@redhat.com> 2008-03-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak

View File

@ -1534,7 +1534,7 @@ cups_get_user_options (const char *printer_name,
{ {
int i; int i;
for (i = 0; i < sizeof (lpoptions_locations); i++) for (i = 0; i < G_N_ELEMENTS (lpoptions_locations); i++)
{ {
if (g_path_is_absolute (lpoptions_locations[i])) if (g_path_is_absolute (lpoptions_locations[i]))
{ {