+Thu Feb 26 19:48:39 2004 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/xsettings-client.c (read_settings): Fix memory leak
+ in case of mismatched property type.
+
Thu Feb 26 18:25:57 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
+Thu Feb 26 19:48:39 2004 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/xsettings-client.c (read_settings): Fix memory leak
+ in case of mismatched property type.
+
Thu Feb 26 18:25:57 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
+Thu Feb 26 19:48:39 2004 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/xsettings-client.c (read_settings): Fix memory leak
+ in case of mismatched property type.
+
Thu Feb 26 18:25:57 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
+Thu Feb 26 19:48:39 2004 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/xsettings-client.c (read_settings): Fix memory leak
+ in case of mismatched property type.
+
Thu Feb 26 18:25:57 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
+Thu Feb 26 19:48:39 2004 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/xsettings-client.c (read_settings): Fix memory leak
+ in case of mismatched property type.
+
Thu Feb 26 18:25:57 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
&type, &format, &n_items, &bytes_after, &data);
XSetErrorHandler (old_handler);
- if (result == Success && type == client->xsettings_atom)
+ if (result == Success && type != None)
{
- if (format != 8)
+ if (type != client->xsettings_atom)
+ {
+ fprintf (stderr, "Invalid type for XSETTINGS property");
+ }
+ eles if (format != 8)
{
fprintf (stderr, "Invalid format for XSETTINGS property %d", format);
}